Browse Source

Remove all additional string literals with calc

pull/6216/merge
Jack 6 years ago
parent
commit
4b4df6c792
3 changed files with 4 additions and 4 deletions
  1. 4
      src/definitions/collections/grid.less
  2. 2
      src/definitions/collections/menu.less
  3. 2
      src/definitions/modules/dropdown.less

4
src/definitions/collections/grid.less

@ -139,7 +139,7 @@
margin: (@rowSpacing / 2) (@gutterWidth / 2);
}
.ui.grid .column + .ui.vertical.divider {
height: ~"calc(50% - "(@rowSpacing/2)~")";
height: calc(50% - (@rowSpacing / 2));
}
/* Remove Border on Last Horizontal Segment */
@ -1077,7 +1077,7 @@
top: 0em;
left: 0px;
width: ~"calc(100% - "@gutterWidth~")";
width: calc(100% - @gutterWidth);
height: 1px;
margin: 0% (@gutterWidth / 2);

2
src/definitions/collections/menu.less

@ -211,7 +211,7 @@
/* Menu */
.ui.menu .dropdown.item .menu {
min-width: ~"calc(100% - 1px)";
min-width: calc(100% - 1px);
border-radius: 0em 0em @dropdownMenuBorderRadius @dropdownMenuBorderRadius;
background: @dropdownBackground;
margin: @dropdownMenuDistance 0px 0px;

2
src/definitions/modules/dropdown.less

@ -1110,7 +1110,7 @@ select.ui.dropdown {
@media all and (-ms-high-contrast:none) {
.ui.scrolling.dropdown .menu,
.ui.dropdown .scrolling.menu {
min-width: ~"calc(100% - "@scrollbarWidth~")";
min-width: calc(100% - @scrollbarWidth);
}
}
@media only screen and (max-width : @largestMobileScreen) {

Loading…
Cancel
Save