Skip to content

Commit

Permalink
feat: add line-height variable for input-text
Browse files Browse the repository at this point in the history
  • Loading branch information
receter committed Oct 8, 2024
1 parent 5790b82 commit 7ae2bff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/ui/lib/TextInput/styles.module.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.textInput {
box-sizing: border-box;
font-size: 1em;
line-height: var(--sys42-input-text-line-height);
background: var(--sys42-input-text-background);
border: var(--sys42-input-text-border-width) solid
var(--sys42-input-text-border-color);
Expand Down
1 change: 1 addition & 0 deletions packages/ui/lib/default-custom-properties.css
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@
--sys42-input-text-border-radius: var(--sys42-border-radius-sm);
--sys42-input-text-border-width: 1px;
--sys42-input-text-border-color: #ddd;
--sys42-input-text-line-height: inherit;
--sys42-input-text-padding-horiz: 0.5rem;
--sys42-input-text-padding-vert: 0.5rem;

Expand Down

0 comments on commit 7ae2bff

Please sign in to comment.