diff options
author | Chocobozzz <me@florianbigard.com> | 2022-03-18 14:15:04 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-03-18 14:15:04 +0100 |
commit | cc92203fe5ea2a7fddbeb0020e3769b0678d40bb (patch) | |
tree | aab2258266fa04831f8a69a1742d8c9da5981742 /client/src/app/menu/menu.component.scss | |
parent | e71e2d8a8f29d4b21c1760a0971201fe59b5985e (diff) | |
download | PeerTube-cc92203fe5ea2a7fddbeb0020e3769b0678d40bb.tar.gz PeerTube-cc92203fe5ea2a7fddbeb0020e3769b0678d40bb.tar.zst PeerTube-cc92203fe5ea2a7fddbeb0020e3769b0678d40bb.zip |
Fix menu weird display issue on firefox
Diffstat (limited to 'client/src/app/menu/menu.component.scss')
-rw-r--r-- | client/src/app/menu/menu.component.scss | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/client/src/app/menu/menu.component.scss b/client/src/app/menu/menu.component.scss index f0919ed28..808a33a4a 100644 --- a/client/src/app/menu/menu.component.scss +++ b/client/src/app/menu/menu.component.scss | |||
@@ -344,6 +344,11 @@ my-actor-avatar { | |||
344 | 344 | ||
345 | .dropdown-menu { | 345 | .dropdown-menu { |
346 | width: calc(100% + 40px); | 346 | width: calc(100% + 40px); |
347 | |||
348 | // Prevent weird display issue on firefox when global style is not loaded yet | ||
349 | &:not(.show) { | ||
350 | display: none; | ||
351 | } | ||
347 | } | 352 | } |
348 | 353 | ||
349 | .dropdown-item { | 354 | .dropdown-item { |