Skip to content
Snippets Groups Projects
Commit 8afee245 authored by Angie Byron's avatar Angie Byron
Browse files

#223341 by bonzinip, Jody Lynn: Fix over-aggressive menu markup that overrides ordered lists.

parent 41a0e3f0
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -6,13 +6,9 @@ ul.menu {
ul.menu li {
margin: 0 0.5em 0 0;
}
li.expanded {
padding: 0.2em 0 0 0.5em;
}
li.collapsed {
ul li.collapsed {
list-style-image: url(../../misc/menu-collapsed-rtl.png);
padding: 0.2em 0 0 0.5em;
}
li.leaf {
li.expanded, li.collapsed, li.leaf {
padding: 0.2em 0 0 0.5em;
}
......@@ -8,21 +8,19 @@ ul.menu {
ul.menu li {
margin: 0 0 0 0.5em; /* LTR */
}
li.expanded {
ul li.expanded {
list-style-type: circle;
list-style-image: url(../../misc/menu-expanded.png);
padding: 0.2em 0.5em 0 0; /* LTR */
margin: 0;
list-style-image: url(../../misc/menu-expanded.png);
}
li.collapsed {
ul li.collapsed {
list-style-type: disc;
list-style-image: url(../../misc/menu-collapsed.png); /* LTR */
padding: 0.2em 0.5em 0 0; /* LTR */
margin: 0;
}
li.leaf {
ul li.leaf {
list-style-type: square;
list-style-image: url(../../misc/menu-leaf.png);
}
li.expanded, li.collapsed, li.leaf {
padding: 0.2em 0.5em 0 0; /* LTR */
margin: 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment