Skip to content

Commit

Permalink
fix(style): enforce font-family inheritance
Browse files Browse the repository at this point in the history
  • Loading branch information
dpellier committed Sep 12, 2024
1 parent 7629071 commit 106695b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

height: auto;
resize: none;
font-family: inherit;

&:not(#{$textarea}--error, :disabled) {
&:focus {
Expand Down
1 change: 1 addition & 0 deletions packages/ods/src/style/_button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ $ods-button-size-md: 40px;
border-radius: $ods-button-border-radius;
cursor: pointer;
overflow: hidden;
font-family: inherit;
font-size: 1rem;
font-weight: 600;
font-style: normal;
Expand Down
1 change: 1 addition & 0 deletions packages/ods/src/style/_input.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ $ods-input-placeholder-color: var(--ods-color-form-element-text-placeholder-defa
width: 100%;
height: $ods-input-input-height;
color: var(--ods-color-text);
font-family: inherit;
font-size: 1rem;

&::placeholder {
Expand Down

0 comments on commit 106695b

Please sign in to comment.