Skip to content

Commit

Permalink
chore: fix style linting issues from 4th version updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ala-n committed Jul 15, 2024
1 parent 2eef9a2 commit 8d017ff
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
10 changes: 6 additions & 4 deletions site/src/common/alert.less
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@
}
}

.alert-color(~'success', @primary-green);
.alert-color(~'info', @primary-blue);
.alert-color(~'warning', @primary-orange);
.alert-color(~'danger', @primary-orange-dark);
/* stylelint-disable */
.alert-color (~'success', @primary-green);
.alert-color (~'info', @primary-blue);
.alert-color (~'warning', @primary-orange);
.alert-color (~'danger', @primary-orange-dark);
/* stylelint-enable */
}

esl-alert.alert {
Expand Down
3 changes: 2 additions & 1 deletion src/modules/esl-carousel/core/esl-carousel.less
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ esl-carousel {
margin: calc(var(--esl-carousel-side-space, 0) * -1);
padding: var(--esl-carousel-side-space, 0);

/* stylelint-disable */
overflow: hidden; // Fallback
/* stylelint-disable-next-line */
overflow: clip;
/* stylelint-enable */

&.esl-carousel-vertical [esl-carousel-slides] {
flex-direction: column;
Expand Down
4 changes: 2 additions & 2 deletions src/modules/esl-popup/core/esl-popup.mixin.less
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
@popupArrowHalf: (@popupArrowSize / 2);
@popupArrowShift: (
@popupArrowSize * 0.2071 - @popupBorderWidth
); // 0.2071 = (sqrt(2) - 1) / 2 (Don't ask why, it's an axiom)
); /* 0.2071 = (sqrt(2) - 1) / 2 (Don't ask why, it's an axiom)*/

.@{arrowClassName} {
position: absolute;
Expand Down Expand Up @@ -90,6 +90,6 @@
display: none;
}

.esl-popup-arrow-init(@arrowClassName, @arrowSize, @backgroundColor, @borderColor, @borderWidth);
.esl-popup-arrow-init (@arrowClassName, @arrowSize, @backgroundColor, @borderColor, @borderWidth);
}
}

0 comments on commit 8d017ff

Please sign in to comment.