Skip to content

Commit

Permalink
fix: lint Unknown word CssSyntaxError
Browse files Browse the repository at this point in the history
  • Loading branch information
NWYLZW committed Mar 29, 2024
1 parent f965991 commit c24eb7d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions style/web/components/descriptions/_index.less
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
.@{prefix}-descriptions {
.reset;

@root: .@{prefix}-descriptions;
@root: @{prefix}-descriptions;

&__header {
color: @text-color-primary;
Expand All @@ -27,7 +27,7 @@
.generate-padding(m, @descriptions-padding-m);
.generate-padding(s, @descriptions-padding-s);

& @{root}__label {
& .@{root}__label {
color: @text-color-placeholder;
}

Expand All @@ -40,7 +40,7 @@
}
}

@{root}__label {
.@{root}__label {
background-color: @bg-color-secondarycontainer;

&:hover {
Expand Down
8 changes: 4 additions & 4 deletions style/web/components/drawer/_index.less
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
.@{prefix}-drawer {
.reset;

@root: .@{prefix}-drawer;
@root: @{prefix}-drawer;

position: fixed;
z-index: 1500;
Expand Down Expand Up @@ -85,7 +85,7 @@
position: relative;
}

@{root}__content-wrapper {
.@{root}__content-wrapper {
position: absolute;
width: 100%;
height: 100%;
Expand Down Expand Up @@ -191,11 +191,11 @@
height: 100%;
pointer-events: auto;

> @{root}__content-wrapper {
> .@{root}__content-wrapper {
visibility: visible;
}

> @{root}__mask {
> .@{root}__mask {
opacity: 1;
width: 100%;
height: 100%;
Expand Down
8 changes: 4 additions & 4 deletions style/web/components/guide/_index.less
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
.@{prefix}-guide {
.reset;

@root: .@{prefix}-guide;
@root: @{prefix}-guide;

&--lock {
overflow: hidden;
Expand Down Expand Up @@ -86,12 +86,12 @@
border: 1px solid @component-border;
}

@{root}__title {
.@{root}__title {
font: @font-title-medium;
font-weight: 700;
}

@{root}__desc {
.@{root}__desc {
margin-top: @guide-dialog-desc-margin-top;
font: @font-body-medium;
}
Expand Down Expand Up @@ -142,7 +142,7 @@
&--dialog {
margin-top: @spacer-3;

@{root} {
.@{root} {
&__action {
display: flex;
justify-content: center;
Expand Down

0 comments on commit c24eb7d

Please sign in to comment.