Skip to content

Commit edb131f

Browse files
thomaszubThomas Zub
andauthored
fix(style): Wrap division in calc (#2012)
Co-authored-by: Thomas Zub <[email protected]>
1 parent f9252e7 commit edb131f

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

spring-boot-admin-server-ui/src/main/frontend/views/applications/applications-list-item.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ export default {
332332
opacity: 0;
333333
transition: all $easing $speed;
334334
will-change: opacity;
335-
margin-right: ($gap / 2);
335+
margin-right: calc(#{$gap} / 2);
336336
display: flex;
337337
338338
*:hover > &,
@@ -341,8 +341,8 @@ export default {
341341
}
342342
343343
& > * {
344-
width: ($gap / 2);
345-
height: ($gap / 2);
344+
width: calc(#{$gap} / 2);
345+
height: calc(#{$gap} / 2);
346346
}
347347
}
348348
}

spring-boot-admin-server-ui/src/main/frontend/views/applications/instances-list.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@
8888
}
8989
9090
& > * {
91-
width: ($gap / 2);
92-
height: ($gap / 2);
91+
width: calc(#{$gap} / 2);
92+
height: calc(#{$gap} / 2);
9393
}
9494
}
9595
}

spring-boot-admin-server-ui/src/main/frontend/views/instances/logfile/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ export default {
181181
182182
&-actions {
183183
top: $navbar-height-px;
184-
right: ($gap /2);
184+
right: calc(#{$gap} / 2);
185185
display: flex;
186186
align-items: center;
187187
justify-content: flex-end;

0 commit comments

Comments
 (0)