Skip to content

Commit

Permalink
fix: Fix the issue of incorrect CSS variable values
Browse files Browse the repository at this point in the history
  • Loading branch information
cadleo committed Nov 20, 2023
1 parent 671ea15 commit 3a671db
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/components/image-uploader/image-uploader.less
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@
.@{class-prefix-image-uploader} {
--cell-size: 80px;
--gap: 12px;
--gap-horizontal: var(--gap);
--gap-vertical: var(--gap);
---gap: var(--gap);
---gap-horizontal: var(--gap-horizontal, var(--gap));
---gap-vertical: var(--gap-vertical, var(--gap));
---gap-horizontal: var(--gap-horizontal);
---gap-vertical: var(--gap-vertical);

&-grid,
&-space {
&-grid.adm-grid,
&-space.adm-space {
--gap: var(---gap);
--gap-horizontal: var(---gap-horizontal);
--gap-vertical: var(---gap-vertical);
Expand Down

0 comments on commit 3a671db

Please sign in to comment.