Bladeren bron

fix: Ansum and Mapco: icons_as_emojis (#4966)

maTh 3 jaren geleden
bovenliggende
commit
9cb0bbd0c1

+ 5 - 0
p/themes/Ansum/_components.scss

@@ -57,6 +57,11 @@
 			font-size: 1rem;
 			line-height: 2.5em;
 
+			span.icon {
+				padding: 0 0.25rem !important;
+				line-height: 1;
+			}
+
 			&:not(.addItem):hover {
 				background: variables.$main-first;
 				color: variables.$white;

+ 4 - 0
p/themes/Ansum/ansum.css

@@ -258,6 +258,10 @@ form th {
 	font-size: 1rem;
 	line-height: 2.5em;
 }
+.dropdown-menu .item a span.icon, .dropdown-menu .item span span.icon, .dropdown-menu .item .as-link span.icon {
+	padding: 0 0.25rem !important;
+	line-height: 1;
+}
 .dropdown-menu .item a:not(.addItem):hover, .dropdown-menu .item span:not(.addItem):hover, .dropdown-menu .item .as-link:not(.addItem):hover {
 	background: #ca7227;
 	color: #fff;

+ 4 - 0
p/themes/Ansum/ansum.rtl.css

@@ -258,6 +258,10 @@ form th {
 	font-size: 1rem;
 	line-height: 2.5em;
 }
+.dropdown-menu .item a span.icon, .dropdown-menu .item span span.icon, .dropdown-menu .item .as-link span.icon {
+	padding: 0 0.25rem !important;
+	line-height: 1;
+}
 .dropdown-menu .item a:not(.addItem):hover, .dropdown-menu .item span:not(.addItem):hover, .dropdown-menu .item .as-link:not(.addItem):hover {
 	background: #ca7227;
 	color: #fff;

+ 5 - 0
p/themes/Mapco/_components.scss

@@ -57,6 +57,11 @@
 			font-size: 1rem;
 			line-height: 2.5em;
 
+			span.icon {
+				padding: 0 0.25rem !important;
+				line-height: 1;
+			}
+
 			&:not(.addItem):hover {
 				background: variables.$main-first;
 				color: variables.$white;

+ 4 - 0
p/themes/Mapco/mapco.css

@@ -257,6 +257,10 @@ form th {
 	font-size: 1rem;
 	line-height: 2.5em;
 }
+.dropdown-menu .item a span.icon, .dropdown-menu .item span span.icon, .dropdown-menu .item .as-link span.icon {
+	padding: 0 0.25rem !important;
+	line-height: 1;
+}
 .dropdown-menu .item a:not(.addItem):hover, .dropdown-menu .item span:not(.addItem):hover, .dropdown-menu .item .as-link:not(.addItem):hover {
 	background: #36c;
 	color: #fff;

+ 4 - 0
p/themes/Mapco/mapco.rtl.css

@@ -257,6 +257,10 @@ form th {
 	font-size: 1rem;
 	line-height: 2.5em;
 }
+.dropdown-menu .item a span.icon, .dropdown-menu .item span span.icon, .dropdown-menu .item .as-link span.icon {
+	padding: 0 0.25rem !important;
+	line-height: 1;
+}
 .dropdown-menu .item a:not(.addItem):hover, .dropdown-menu .item span:not(.addItem):hover, .dropdown-menu .item .as-link:not(.addItem):hover {
 	background: #36c;
 	color: #fff;