Display only if not selected

This commit is contained in:
Adria Navarro 2025-03-24 11:21:32 +01:00
parent d4726b12c3
commit 2f13fd35a3
1 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@
</script> </script>
<DetailPopover bind:this={popover} {title} align={PopoverAlignment.Right}> <DetailPopover bind:this={popover} {title} align={PopoverAlignment.Right}>
<div slot="anchor" class="anchor"> <div slot="anchor" class:display-new={!authConfig}>
<ActionButton icon="LockClosed" quiet selected> <ActionButton icon="LockClosed" quiet selected>
{#if !authConfig} {#if !authConfig}
Authentication Authentication
@ -124,7 +124,7 @@
</DetailPopover> </DetailPopover>
<style> <style>
.anchor :global(.spectrum-ActionButton)::before { .display-new :global(.spectrum-ActionButton)::before {
content: "NEW"; content: "NEW";
font-size: 10px; font-size: 10px;
background: var(--bb-indigo); background: var(--bb-indigo);