diff options
Add: Tiles component and many bugs fixed
1 files changed, 13 insertions, 14 deletions
| -rw-r--r-- | src/menus.less | 27 |
diff --git a/src/menus.less b/src/menus.less index 2b3a8d7..60b2f3b 100644 --- a/src/menus.less +++ b/src/menus.less @@ -5,7 +5,7 @@ display: block; margin: 0; min-width: @control-min-width; - padding: .5rem; + padding: .8rem; .shadow; text-align: left; transform: translateY(.5rem); @@ -15,8 +15,8 @@ border-radius: @border-radius; display: block; line-height: 2.4rem; - margin-top: .1rem; - padding: .2rem .8rem; + margin-top: 0; + padding: .3rem .8rem; text-decoration: none; user-select: none; @@ -24,8 +24,8 @@ border-radius: @border-radius; color: inherit; display: block; - margin: -.2rem -.8rem; - padding: .2rem .8rem; + margin: -.3rem -.8rem; + padding: .3rem .8rem; text-decoration: none; &:focus, &:hover { @@ -46,6 +46,14 @@ line-height: 1.8rem; margin-top: 0; padding: .2rem .8rem; + &::after { + border-bottom: .1rem solid @core-border-color; + content: ""; + display: block; + height: .1rem; + transform: translateY(-1rem); + width: 100%; + } .menu-header-text { background: #fff; @@ -55,14 +63,5 @@ position: relative; z-index: 99; } - - &::after { - border-bottom: .1rem solid @core-border-color; - content: ""; - display: block; - height: .1rem; - transform: translateY(-1rem); - width: 100%; - } } } |