diff options
| Commit | 48f0d7e0e6d6d6569dbf98dd56091466520ae206 (patch) | |
|---|---|---|
| Author | 2017-01-25 18:45:24 +0800 | |
| Committer | 2017-01-25 18:45:24 +0800 | |
| Files | 62c5f08d27a6ba1b87782e0433dcf9559d37ed94 /src/menus.less | |
| Spectre-Dark-Gruvbox-0.1.32.tar Spectre-Dark-Gruvbox-0.1.32.tar.gz Spectre-Dark-Gruvbox-0.1.32.zip | ||
| Parent | a5076e547192bf098ddde4049c31cfd4c899ff01 (diff) | |
| Parent | f87896f812b712f730bddd304cead9aa8090d21a (diff) | |
Merge pull request #136 from picturepan2/hotfix/fixes v0.1.32
Hotfix/fixes
1 files changed, 9 insertions, 7 deletions
| -rw-r--r-- | src/menus.less | 16 |
diff --git a/src/menus.less b/src/menus.less index 49adc80..434beec 100644 --- a/src/menus.less +++ b/src/menus.less @@ -1,30 +1,32 @@ // Menus .menu { background: #fff; - border-radius: .3rem; + border-radius: @border-radius; display: block; margin: 0; + min-width: @control-min-width; padding: .5rem; .shadow; text-align: left; + transform: translateY(.5rem); z-index: 999; .menu-item { - border-radius: .3rem; + border-radius: @border-radius; color: @body-font-color; display: block; line-height: 2.4rem; margin-top: .1rem; - padding: .2rem 1rem; + padding: .2rem .8rem; text-decoration: none; user-select: none; a { - border-radius: .3rem; + border-radius: @border-radius; color: inherit; display: block; - margin: -.2rem -1rem; - padding: .2rem 1rem; + margin: -.2rem -.8rem; + padding: .2rem .8rem; text-decoration: none; &:focus, &:hover { @@ -44,7 +46,7 @@ font-size: 1.2rem; line-height: 1.8rem; margin-top: 0; - padding: .2rem 1rem; + padding: .2rem .8rem; .menu-header-text { background: #fff; |