Skip to content

Commit

Permalink
Add --uc-line-height css property
Browse files Browse the repository at this point in the history
  • Loading branch information
nd0ut committed Jun 20, 2024
1 parent aa1646e commit 0dc4781
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 3 deletions.
2 changes: 0 additions & 2 deletions blocks/FileItem/file-item.css
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,12 @@ lr-file-item .file-name {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
line-height: 1.3em;
}

lr-file-item .file-error {
display: none;
color: var(--uc-destructive-foreground);
font-size: 0.85em;
line-height: 1.3em;
}

lr-file-item button.remove-btn,
Expand Down
1 change: 1 addition & 0 deletions blocks/themes/lr-basic/common.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
:where([lr-wgt-common]) {
color: var(--uc-foreground);
font-size: var(--uc-font-size);
line-height: var(--uc-line-height);
font-family: var(--uc-font-family);
}

Expand Down
1 change: 1 addition & 0 deletions blocks/themes/lr-basic/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
/* Font */
--uc-font-family: system-ui;
--uc-font-size: 14px;
--uc-line-height: normal;
--uc-simple-btn-font-family: system-ui;
--uc-simple-btn-font-size: 14px;

Expand Down
1 change: 0 additions & 1 deletion solutions/file-uploader/minimal/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
width: 100%;
min-height: calc(var(--uc-preview-size) + var(--uc-padding) * 2 + 8px);
padding: 0;
line-height: 140%;
text-align: center;
background-color: var(--uc-muted);
border-radius: calc(var(--uc-radius) * 1.75);
Expand Down

0 comments on commit 0dc4781

Please sign in to comment.