diff options
author | Chocobozzz <me@florianbigard.com> | 2023-03-16 08:14:33 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-03-16 08:14:33 +0100 |
commit | 2346a6dc8067a9a467ddf17a3289d4f966257387 (patch) | |
tree | 2e6c07338cc55558013b87dd827c29cba79b77ce /client/src/app/shared/shared-main | |
parent | ca829e9a837150e7e1f2e6c0e6bd98997e0565a4 (diff) | |
download | PeerTube-2346a6dc8067a9a467ddf17a3289d4f966257387.tar.gz PeerTube-2346a6dc8067a9a467ddf17a3289d4f966257387.tar.zst PeerTube-2346a6dc8067a9a467ddf17a3289d4f966257387.zip |
Fix small action dropdown
Diffstat (limited to 'client/src/app/shared/shared-main')
-rw-r--r-- | client/src/app/shared/shared-main/buttons/action-dropdown.component.html | 2 | ||||
-rw-r--r-- | client/src/app/shared/shared-main/buttons/action-dropdown.component.scss | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/client/src/app/shared/shared-main/buttons/action-dropdown.component.html b/client/src/app/shared/shared-main/buttons/action-dropdown.component.html index 17acb3eab..bbfab7b37 100644 --- a/client/src/app/shared/shared-main/buttons/action-dropdown.component.html +++ b/client/src/app/shared/shared-main/buttons/action-dropdown.component.html | |||
@@ -1,7 +1,7 @@ | |||
1 | <div class="dropdown-root" ngbDropdown [placement]="placement" [container]="container" *ngIf="areActionsDisplayed(actions, entry)"> | 1 | <div class="dropdown-root" ngbDropdown [placement]="placement" [container]="container" *ngIf="areActionsDisplayed(actions, entry)"> |
2 | <button | 2 | <button |
3 | class="action-button" [ngClass]="{ small: buttonSize === 'small', grey: theme === 'grey', orange: theme === 'orange', 'button-styled': buttonStyled }" | 3 | class="action-button" [ngClass]="{ small: buttonSize === 'small', grey: theme === 'grey', orange: theme === 'orange', 'button-styled': buttonStyled }" |
4 | ngbDropdownToggle role="button" aria-label="Open actions" i18n-aria-label | 4 | ngbDropdownToggle aria-label="Open actions" i18n-aria-label |
5 | > | 5 | > |
6 | <my-global-icon *ngIf="!label && buttonDirection === 'horizontal'" class="more-icon" iconName="more-horizontal"></my-global-icon> | 6 | <my-global-icon *ngIf="!label && buttonDirection === 'horizontal'" class="more-icon" iconName="more-horizontal"></my-global-icon> |
7 | <my-global-icon *ngIf="!label && buttonDirection === 'vertical'" class="more-icon" iconName="more-vertical"></my-global-icon> | 7 | <my-global-icon *ngIf="!label && buttonDirection === 'vertical'" class="more-icon" iconName="more-vertical"></my-global-icon> |
diff --git a/client/src/app/shared/shared-main/buttons/action-dropdown.component.scss b/client/src/app/shared/shared-main/buttons/action-dropdown.component.scss index 5d400c0f7..8e5bb266f 100644 --- a/client/src/app/shared/shared-main/buttons/action-dropdown.component.scss +++ b/client/src/app/shared/shared-main/buttons/action-dropdown.component.scss | |||
@@ -41,8 +41,7 @@ | |||
41 | 41 | ||
42 | &.small { | 42 | &.small { |
43 | font-size: 14px; | 43 | font-size: 14px; |
44 | height: 20px; | 44 | padding: 0 10px; |
45 | line-height: 20px; | ||
46 | } | 45 | } |
47 | } | 46 | } |
48 | 47 | ||