diff options
| author | 2022-01-24 09:24:20 +0100 | |
|---|---|---|
| committer | 2022-01-24 09:24:20 +0100 | |
| commit | 9012db01554b9ac3b99651be8a3944668757fa64 (patch) | |
| tree | 5c10034696c54f34deeff431429be4eef871911e /p/themes/Ansum | |
| parent | 7ab4f89f540f01219aba77f8b47e0f6219d94495 (diff) | |
Fix: dropdown menu triangle in mobile view (#4169)
* central triangle styles moved to template.css
* Update template.rtl.css
* fix: triangle in config menu in mobile view
* improve dark theme in mobile view
Diffstat (limited to 'p/themes/Ansum')
| -rw-r--r-- | p/themes/Ansum/_components.scss | 14 | ||||
| -rw-r--r-- | p/themes/Ansum/ansum.css | 12 | ||||
| -rw-r--r-- | p/themes/Ansum/ansum.rtl.css | 12 |
3 files changed, 6 insertions, 32 deletions
diff --git a/p/themes/Ansum/_components.scss b/p/themes/Ansum/_components.scss index b3fae5d08..58338db18 100644 --- a/p/themes/Ansum/_components.scss +++ b/p/themes/Ansum/_components.scss @@ -30,18 +30,8 @@ text-align: left; &::after { - background: $grey-lighter; - width: 10px; - height: 10px; - content: ""; - position: absolute; - top: -4px; - right: 18px; - bottom: -14px; - z-index: -10; - transform: rotate(45deg); - // border-top: 1px solid #95a5a6; - // border-left: 1px solid #95a5a6; + border: none; + right: 17px; } .dropdown-header { diff --git a/p/themes/Ansum/ansum.css b/p/themes/Ansum/ansum.css index 411e1b152..0e92ce051 100644 --- a/p/themes/Ansum/ansum.css +++ b/p/themes/Ansum/ansum.css @@ -234,16 +234,8 @@ form th { text-align: left; } .dropdown-menu::after { - background: #fcfaf8; - width: 10px; - height: 10px; - content: ""; - position: absolute; - top: -4px; - right: 18px; - bottom: -14px; - z-index: -10; - transform: rotate(45deg); + border: none; + right: 17px; } .dropdown-menu .dropdown-header { margin: 1.75rem 0 0.5rem 2rem; diff --git a/p/themes/Ansum/ansum.rtl.css b/p/themes/Ansum/ansum.rtl.css index 8788a6df9..d03cbcad4 100644 --- a/p/themes/Ansum/ansum.rtl.css +++ b/p/themes/Ansum/ansum.rtl.css @@ -234,16 +234,8 @@ form th { text-align: right; } .dropdown-menu::after { - background: #fcfaf8; - width: 10px; - height: 10px; - content: ""; - position: absolute; - top: -4px; - left: 18px; - bottom: -14px; - z-index: -10; - transform: rotate(-45deg); + border: none; + left: 17px; } .dropdown-menu .dropdown-header { margin: 1.75rem 2rem 0.5rem 0; |
