Skip to content

Commit

Permalink
fix(core): DataList missing paddings inside Option (multiline tex…
Browse files Browse the repository at this point in the history
…t problem) (#1820)
  • Loading branch information
nsbarsukov authored May 30, 2022
1 parent 8d3be82 commit e206921
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion projects/core/components/data-list/option/option.style.less
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
align-items: center;
justify-content: space-between;
text-align: left;
padding: 0 1rem;
box-sizing: border-box;
color: var(--tui-text-01);
outline: none;
Expand All @@ -33,18 +32,22 @@
&[data-size='xs'] {
font: var(--tui-font-text-s);
min-height: 2rem + 1rem;
padding: 0.3125rem 0.75rem;
}

&[data-size='s'] {
min-height: 2rem + 1rem;
padding: 0.3125rem 0.75rem;
}

&[data-size='m'] {
min-height: 2.75rem + 1rem;
padding: 0.375rem 1rem;
}

&[data-size='l'] {
min-height: 3.5rem + 1rem;
padding: 0.75rem 1rem;
}
}

Expand Down

0 comments on commit e206921

Please sign in to comment.