Browse Source

Fix tabular menu valign issue in IE

pull/1785/head
jlukic 9 years ago
parent
commit
512abdf83a
2 changed files with 4 additions and 6 deletions
  1. 9
      src/definitions/collections/menu.less
  2. 1
      src/themes/default/collections/menu.variables

9
src/definitions/collections/menu.less

@ -633,18 +633,15 @@
/* Active */
.ui.tabular.menu .active.item {
position: relative;
border-bottom: none;
vertical-align: bottom;
background-color: @tabularMenuActiveBackground;
color: @tabularActiveColor;
border-color: @tabularBorderColor;
font-weight: @tabularActiveWeight;
margin-bottom: -@tabularBorderWidth;
border-bottom: none;
box-shadow: 0px (2 * @tabularBorderWidth) 0px -@tabularBorderWidth @tabularBackgroundColor;
box-shadow: @tabularActiveBoxShadow;
border-radius: @tabularBorderRadius @tabularBorderRadius 0px 0px;
}

1
src/themes/default/collections/menu.variables

@ -244,6 +244,7 @@
@tabularFluidWidth: ~"calc(100% + "(@tabularFluidOffset * 2)~")";
@tabularActiveColor: @selectedTextColor;
@tabularActiveBoxShadow: none;
@tabularMenuActiveBackground: #FFFFFF;
@tabularActiveWeight: bold;

Loading…
Cancel
Save