Browse Source

adds sizing menu formatting for input and dropdown fixing #173. Improves centering of input in chrome

pull/258/head
jlukic 11 years ago
parent
commit
e5f63c9fb3
1 changed files with 13 additions and 2 deletions
  1. 15
      src/collections/menu.less

15
src/collections/menu.less

@ -271,8 +271,8 @@
.ui.menu .item > input[type="text"] { .ui.menu .item > input[type="text"] {
position: relative; position: relative;
margin: -0.45em 0em; margin: -0.45em 0em;
padding-top: 0.45em;
padding-bottom: 0.45em;
padding-top: 0.5em;
padding-bottom: 0.5em;
} }
.ui.vertical.menu .item > .input input, .ui.vertical.menu .item > .input input,
.ui.vertical.menu .item > input[type="text"] { .ui.vertical.menu .item > input[type="text"] {
@ -1800,6 +1800,17 @@
.ui.large.menu .item .item { .ui.large.menu .item .item {
font-size: 0.875rem; font-size: 0.875rem;
} }
.ui.large.menu .item > .input input,
.ui.large.menu .item > input[type="text"] {
padding-top: 0.65em;
padding-bottom: 0.65em;
}
.ui.large.menu .ui.input > .icon {
padding-top: 0.3em;
}
.ui.large.menu .dropdown.item .item {
font-size: 1rem;
}
.ui.large.vertical.menu { .ui.large.vertical.menu {
width: 18rem; width: 18rem;
} }
Loading…
Cancel
Save