diff --git a/.github/linters/.stylelintrc.json b/.github/linters/.stylelintrc.json index c673bae6..1da3a5be 100644 --- a/.github/linters/.stylelintrc.json +++ b/.github/linters/.stylelintrc.json @@ -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, { @@ -19,7 +15,6 @@ "ignorePseudoElements": [ "deep" ] } ], - "indentation": 4, "media-feature-range-notation": "prefix" } -} +} \ No newline at end of file diff --git a/src/Cropper.Blazor/Client/Pages/CropperDemo.razor.css b/src/Cropper.Blazor/Client/Pages/CropperDemo.razor.css index a90d7f2f..c83c4051 100644 --- a/src/Cropper.Blazor/Client/Pages/CropperDemo.razor.css +++ b/src/Cropper.Blazor/Client/Pages/CropperDemo.razor.css @@ -10,7 +10,7 @@ min-height: 200px; } -@media (width >= 768px) { +@media (min-width: 768px) { .img-container { min-height: 573px; } diff --git a/src/Cropper.Blazor/Client/Styles/Cropper.Blazor.Client.scss b/src/Cropper.Blazor/Client/Styles/Cropper.Blazor.Client.scss index 58a24bcf..6738ed48 100644 --- a/src/Cropper.Blazor/Client/Styles/Cropper.Blazor.Client.scss +++ b/src/Cropper.Blazor/Client/Styles/Cropper.Blazor.Client.scss @@ -32,7 +32,6 @@ .loader-box { @include responsive-box(100%); - display: flex; justify-content: center; align-items: center; @@ -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; diff --git a/src/Cropper.Blazor/Client/Styles/layout/_mainlayout.scss b/src/Cropper.Blazor/Client/Styles/layout/_mainlayout.scss index 0c258f5c..6e3acab5 100644 --- a/src/Cropper.Blazor/Client/Styles/layout/_mainlayout.scss +++ b/src/Cropper.Blazor/Client/Styles/layout/_mainlayout.scss @@ -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; } }