abstand entfertn wegen hoverproblem
This commit is contained in:
1 parent
fb5052d43d
commit
3abf47e2ea
1 file changed
+11
-1
@@ -113,13 +113,14 @@ button:hover { background: var(--c-accent-hover); }
|
||||
.nav a:hover { color: var(--c-accent); }
|
||||
|
||||
.nav__dropdown { position: relative; cursor: default; }
|
||||
|
||||
.nav__dropdownMenu {
|
||||
display: none;
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
left: 0;
|
||||
min-width: 12rem;
|
||||
margin-top: var(--space-2);
|
||||
margin-top: 0;
|
||||
list-style: none;
|
||||
background: var(--c-bg);
|
||||
border: 1px solid var(--c-border);
|
||||
@@ -132,3 +133,12 @@ button:hover { background: var(--c-accent-hover); }
|
||||
|
||||
.nav__list a { display: block; padding: var(--space-1) var(--space-2); }
|
||||
.nav__list a:hover { background: var(--c-surface); border-radius: var(--radius); }
|
||||
|
||||
|
||||
|
||||
@media (max-width: 640px) {
|
||||
button {
|
||||
padding: var(--space-1) var(--space-2);
|
||||
font-size: .875rem;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user