classlesscss icon indicating copy to clipboard operation
classlesscss copied to clipboard

Padding on collapsed nav

Open flibustenet opened this issue 1 year ago • 2 comments

Maybe padding should be reduced on small device where nav is on the left. Something like:

@media (max-width:40rem) {
    nav ul:first-child > li {
        padding:0 0 0 0.6rem;
    }
}

flibustenet avatar Mar 11 '24 13:03 flibustenet

A vertical padding of 0 looks too narrow for my taste but I will consider to use just padding: .6rem; globally. Thanks.

emareg avatar May 28 '24 10:05 emareg

Maybe in a var as it depends on how many items we have in the menu (and it'll not break existing version) ?

flibustenet avatar May 28 '24 11:05 flibustenet