aboutsummaryrefslogtreecommitdiff
path: root/p/themes/Mapco
diff options
context:
space:
mode:
authorGravatar maTh <1645099+math-GH@users.noreply.github.com> 2024-11-01 16:32:04 +0100
committerGravatar GitHub <noreply@github.com> 2024-11-01 16:32:04 +0100
commit0735c9f70ca118a599fdd203bb9f135158a67395 (patch)
treea527c547244cd35986471cd158b0f1cf9fe0c3b1 /p/themes/Mapco
parentdf86cbb361e480dbe50b1dc52025c880f170f6b2 (diff)
Fixed: article footer dropdowns (my labels, article tags, sharing) (#6959)
* fix dropdown triangle in mobile view * Nord theme * mobile view: width improved. Each theme can decide about border-radius * Ansum/Mapco theme * fix pink dark theme: label icon in pink now too * my labels: line breaks improved * article tags: headline added
Diffstat (limited to 'p/themes/Mapco')
-rw-r--r--p/themes/Mapco/_components.scss2
-rw-r--r--p/themes/Mapco/_mobile.scss4
-rw-r--r--p/themes/Mapco/mapco.css5
-rw-r--r--p/themes/Mapco/mapco.rtl.css5
4 files changed, 3 insertions, 13 deletions
diff --git a/p/themes/Mapco/_components.scss b/p/themes/Mapco/_components.scss
index 7b2526428..a0fdf1b94 100644
--- a/p/themes/Mapco/_components.scss
+++ b/p/themes/Mapco/_components.scss
@@ -13,7 +13,7 @@
.horizontal-list {
padding: 0.1rem 0;
- .item {
+ & > .item {
&:first-child {
padding-left: 0.5rem;
}
diff --git a/p/themes/Mapco/_mobile.scss b/p/themes/Mapco/_mobile.scss
index 974c5cf65..8e47832a2 100644
--- a/p/themes/Mapco/_mobile.scss
+++ b/p/themes/Mapco/_mobile.scss
@@ -122,10 +122,6 @@
~ a.dropdown-toggle {
&:not(.btn) {
- ~ .dropdown-menu {
- margin-top: 0;
- }
-
&::after {
bottom: -17px;
}
diff --git a/p/themes/Mapco/mapco.css b/p/themes/Mapco/mapco.css
index a1821bd01..4c8509923 100644
--- a/p/themes/Mapco/mapco.css
+++ b/p/themes/Mapco/mapco.css
@@ -207,7 +207,7 @@ th {
.horizontal-list {
padding: 0.1rem 0;
}
-.horizontal-list .item:first-child {
+.horizontal-list > .item:first-child {
padding-left: 0.5rem;
}
@@ -1302,9 +1302,6 @@ main.prompt {
right: 21px;
bottom: -14px;
}
- .dropdown-target:target ~ a.dropdown-toggle:not(.btn) ~ .dropdown-menu {
- margin-top: 0;
- }
.dropdown-target:target ~ a.dropdown-toggle:not(.btn)::after {
bottom: -17px;
}
diff --git a/p/themes/Mapco/mapco.rtl.css b/p/themes/Mapco/mapco.rtl.css
index 2880bde0c..511d2fdf0 100644
--- a/p/themes/Mapco/mapco.rtl.css
+++ b/p/themes/Mapco/mapco.rtl.css
@@ -207,7 +207,7 @@ th {
.horizontal-list {
padding: 0.1rem 0;
}
-.horizontal-list .item:first-child {
+.horizontal-list > .item:first-child {
padding-right: 0.5rem;
}
@@ -1302,9 +1302,6 @@ main.prompt {
left: 21px;
bottom: -14px;
}
- .dropdown-target:target ~ a.dropdown-toggle:not(.btn) ~ .dropdown-menu {
- margin-top: 0;
- }
.dropdown-target:target ~ a.dropdown-toggle:not(.btn)::after {
bottom: -17px;
}