Skip to content

Commit

Permalink
Fixed css|scss lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ColdForeign committed Aug 3, 2024
1 parent 8849df9 commit ef68b63
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 10 deletions.
7 changes: 1 addition & 6 deletions .github/linters/.stylelintrc.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
{
"extends": "stylelint-config-standard",
"rules": {
"at-rule-no-unknown": [true, {
"ignoreAtRules": ["function", "if", "each", "include", "mixin"]
}],
"selector-list-comma-newline-after": "always-multi-line",
"selector-list-comma-newline-before": "never-multi-line",
"block-closing-brace-newline-before": "always",
"selector-pseudo-class-no-unknown": [
true,
{
Expand All @@ -19,7 +15,6 @@
"ignorePseudoElements": [ "deep" ]
}
],
"indentation": 4,
"media-feature-range-notation": "prefix"
}
}
}
2 changes: 1 addition & 1 deletion src/Cropper.Blazor/Client/Pages/CropperDemo.razor.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
min-height: 200px;
}

@media (width >= 768px) {
@media (min-width: 768px) {
.img-container {
min-height: 573px;
}
Expand Down
3 changes: 1 addition & 2 deletions src/Cropper.Blazor/Client/Styles/Cropper.Blazor.Client.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@

.loader-box {
@include responsive-box(100%);

display: flex;
justify-content: center;
align-items: center;
Expand Down Expand Up @@ -62,7 +61,7 @@
}

.loader-text {
$loader-text-size: #{"clamp(16px, calc(24px + (48 - 16) * (100vw - 280px)/(1920 - 280)), 48px)"};
$loader-text-size: clamp(16px, calc(24px + (48 - 16) * (100vw - 280px)/(1920 - 280)), 48px);

position: absolute;
z-index: 3;
Expand Down
2 changes: 1 addition & 1 deletion src/Cropper.Blazor/Client/Styles/layout/_mainlayout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
font-family: 'Public Sans', Roboto, Arial, sans-serif;
font-weight: 500;
line-height: 1.75;
letter-spacing: 0.02857em;
letter-spacing: 0.0286em;
text-transform: none;
}
}
Expand Down

0 comments on commit ef68b63

Please sign in to comment.