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/Mapco | |
| 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/Mapco')
| -rw-r--r-- | p/themes/Mapco/_components.scss | 12 | ||||
| -rw-r--r-- | p/themes/Mapco/mapco.css | 10 | ||||
| -rw-r--r-- | p/themes/Mapco/mapco.rtl.css | 10 |
3 files changed, 3 insertions, 29 deletions
diff --git a/p/themes/Mapco/_components.scss b/p/themes/Mapco/_components.scss index 6441ac0fb..35b4e5790 100644 --- a/p/themes/Mapco/_components.scss +++ b/p/themes/Mapco/_components.scss @@ -30,18 +30,8 @@ text-align: left; &::after { - background: $grey-lighter; - width: 10px; - height: 10px; - content: ""; - position: absolute; - top: -4px; + border: none; right: 18px; - bottom: -14px; - z-index: -10; - transform: rotate(45deg); - // border-top: 1px solid #95a5a6; - // border-left: 1px solid #95a5a6; } .dropdown-header { diff --git a/p/themes/Mapco/mapco.css b/p/themes/Mapco/mapco.css index f411802b9..741df030b 100644 --- a/p/themes/Mapco/mapco.css +++ b/p/themes/Mapco/mapco.css @@ -234,16 +234,8 @@ form th { text-align: left; } .dropdown-menu::after { - background: #f9fafb; - width: 10px; - height: 10px; - content: ""; - position: absolute; - top: -4px; + border: none; right: 18px; - bottom: -14px; - z-index: -10; - transform: rotate(45deg); } .dropdown-menu .dropdown-header { margin: 1.75rem 0 0.5rem 2rem; diff --git a/p/themes/Mapco/mapco.rtl.css b/p/themes/Mapco/mapco.rtl.css index 269ae3ca6..44beb1a01 100644 --- a/p/themes/Mapco/mapco.rtl.css +++ b/p/themes/Mapco/mapco.rtl.css @@ -234,16 +234,8 @@ form th { text-align: right; } .dropdown-menu::after { - background: #f9fafb; - width: 10px; - height: 10px; - content: ""; - position: absolute; - top: -4px; + border: none; left: 18px; - bottom: -14px; - z-index: -10; - transform: rotate(-45deg); } .dropdown-menu .dropdown-header { margin: 1.75rem 2rem 0.5rem 0; |
