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>
<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>
{#if !authConfig}
Authentication
@ -124,7 +124,7 @@
</DetailPopover>
<style>
.anchor :global(.spectrum-ActionButton)::before {
.display-new :global(.spectrum-ActionButton)::before {
content: "NEW";
font-size: 10px;
background: var(--bb-indigo);