ActivityPub-federated video streaming platform using P2P directly in your web browser
Add dropdown show button border
Chocobozzzb7f42a187e15
diff --git a/client/src/app/+my-library/my-videos/my-videos.component.html b/client/src/app/+my-library/my-videos/my-videos.component.htmlindex 299c99c43e..042c796826 100644--- a/client/src/app/+my-library/my-videos/my-videos.component.html+++ b/client/src/app/+my-library/my-videos/my-videos.component.html@@ -93,8 +93,8 @@<span i18>Actions</span><span class="c-hand column-toggle" >- <div ngbDropdown placement="bottom-left auto" container="body" autoClose="outside">- <my-button theme="tertiary" icon="columns" ngbDropdownToggle i18n-title title="Open table configuration"></my-button>+ <div ngbDropdown placement="bottom-left auto" container="body" autoClose="outside" #columnsDropdown="ngbDropdown">+ <my-button theme="tertiary" icon="columns" ngbDropdownToggle i18n-title title="Open table configuration" [show]="columnsDropdown.isOpen()"></my-button><div ngbDropdownMenu class="p-3"><div class="form-group">diff --git a/client/src/app/shared/shared-main/buttons/button.component.ts b/client/src/app/shared/shared-main/buttons/button.component.tsindex 399019e89a..4cfc88b097 100644--- a/client/src/app/shared/shared-main/buttons/button.component.ts+++ b/client/src/app/shared/shared-main/buttons/button.component.ts@@ -63,6 +63,7 @@ export class ButtonComponent implements OnChanges, AfterViewInit {readonly autoFontSize = input(false, { transform: booleanAttribute })readonly rounded = input(false, { transform: booleanAttribute })readonly small = input(false, { transform: booleanAttribute })+ readonly show = input(false, { transform: booleanAttribute })readonly labelContent = viewChild<ElementRef>('labelContent')@@ -105,7 +106,8 @@ export class ButtonComponent implements OnChanges, AfterViewInit {'icon-only': !label,'label-xl': this.autoFontSize() && label.length > 10,'responsive-label': this.responsiveLabel(),- 'small-button': this.small()+ 'small-button': this.small(),+ 'show': this.show()}debugLogger('Built button classes', { classes: this.classes, label, labelContent: this.labelContent() })