diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2020-12-30 23:28:24 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2020-12-30 23:28:24 +0100 |
| commit | 697963c5e4f56f871d4364043af450af6b6a2f9d (patch) | |
| tree | 1374402327fbfffceeb95fedd8ba8ae8206114c1 /commun.css | |
| parent | 43b4929f25a5bbdc2926a33c55104f1e96334928 (diff) | |
| download | quatuorbellefeuille.com-697963c5e4f56f871d4364043af450af6b6a2f9d.tar.xz | |
Fix dropdown position
Make sure it starts below the li's padding area, so that it lines up
with colored backgrounds.
Diffstat (limited to 'commun.css')
| -rw-r--r-- | commun.css | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -65,6 +65,10 @@ nav > ol { nav > ol > li { flex: 1; +} + +nav > ol > li > a { + display: block; padding: 0.5em 0.1em; } @@ -74,7 +78,6 @@ nav li.dropdown { nav li.dropdown ul { display: none; position: absolute; - left: 0; /* Offset nav > ol > li padding. */ padding-left: 0; width: 100%; text-align: left; |
