Skip to content
This repository has been archived by the owner on Nov 4, 2023. It is now read-only.

Commit

Permalink
fix(styles): Fix divisions in SCSS files after updating to less 4
Browse files Browse the repository at this point in the history
  • Loading branch information
rchl committed Jan 21, 2021
1 parent dcaf6f1 commit 71d7ff4
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions styles/main.less
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,7 @@ body {
}

.item-entity {
@entityTop: @entitySize / 2 + 5px;
@entityTop: (@entitySize / 2) + 5px;
position: absolute;
height: @entitySize;
line-height: @entitySize;
Expand Down Expand Up @@ -829,7 +829,7 @@ body {
max-width: 100%;
padding: 0 7px;
white-space: normal;
line-height: @entitySize / 3;
line-height: (@entitySize / 3);
text-align: left;
}
}
Expand All @@ -846,7 +846,7 @@ body {

.-small-entity {
@smallEntitySize: 60px;
@smallEntityTop: @smallEntitySize / 2 + 5px;
@smallEntityTop: (@smallEntitySize / 2) + 5px;

.item-entity {
position: absolute;
Expand Down Expand Up @@ -914,7 +914,7 @@ body {

&.-select .item-entity--value {
font-size: 16px;
line-height: @smallEntitySize / 3;
line-height: (@smallEntitySize / 3);
}

.item-cover {
Expand All @@ -938,7 +938,7 @@ body {
@smallEntitySize: 40px;

.item-entity {
@smallEntityTop: @smallEntitySize / 2 + 0px;
@smallEntityTop: (@smallEntitySize / 2) + 0px;
position: absolute;
height: @smallEntitySize;
line-height: @smallEntitySize;
Expand Down Expand Up @@ -1378,8 +1378,8 @@ camera_stream {
position: absolute;
left: 50%;
top: 50%;
margin-left: -@alarmWidth / 2;
margin-top: -@alarmHeight / 2;
margin-left: (-@alarmWidth / 2);
margin-top: (-@alarmHeight / 2);
z-index: 12;
box-sizing: border-box;
padding: 10px;
Expand Down

0 comments on commit 71d7ff4

Please sign in to comment.