Skip to content

Commit 4b4df6c

Browse files
committed
Remove all additional string literals with calc
1 parent 1b922b6 commit 4b4df6c

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/definitions/collections/grid.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@
139139
margin: (@rowSpacing / 2) (@gutterWidth / 2);
140140
}
141141
.ui.grid .column + .ui.vertical.divider {
142-
height: ~"calc(50% - "(@rowSpacing/2)~")";
142+
height: calc(50% - (@rowSpacing / 2));
143143
}
144144

145145
/* Remove Border on Last Horizontal Segment */
@@ -1077,7 +1077,7 @@
10771077
top: 0em;
10781078
left: 0px;
10791079

1080-
width: ~"calc(100% - "@gutterWidth~")";
1080+
width: calc(100% - @gutterWidth);
10811081
height: 1px;
10821082

10831083
margin: 0% (@gutterWidth / 2);

src/definitions/collections/menu.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@
211211

212212
/* Menu */
213213
.ui.menu .dropdown.item .menu {
214-
min-width: ~"calc(100% - 1px)";
214+
min-width: calc(100% - 1px);
215215
border-radius: 0em 0em @dropdownMenuBorderRadius @dropdownMenuBorderRadius;
216216
background: @dropdownBackground;
217217
margin: @dropdownMenuDistance 0px 0px;

src/definitions/modules/dropdown.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1110,7 +1110,7 @@ select.ui.dropdown {
11101110
@media all and (-ms-high-contrast:none) {
11111111
.ui.scrolling.dropdown .menu,
11121112
.ui.dropdown .scrolling.menu {
1113-
min-width: ~"calc(100% - "@scrollbarWidth~")";
1113+
min-width: calc(100% - @scrollbarWidth);
11141114
}
11151115
}
11161116
@media only screen and (max-width : @largestMobileScreen) {

0 commit comments

Comments
 (0)