Skip to content

Заголовок в BottomSheet #1056

Open
aleksey-ilin opened this issue Apr 12, 2022 · 0 comments
Open

Заголовок в BottomSheet #1056

aleksey-ilin opened this issue Apr 12, 2022 · 0 comments
Assignees
Labels
Bug Something isn't working

Comments

@aleksey-ilin
Copy link
Contributor

Опишите проблему

У компонента BottomSheet у заголовка для темы click заданы свойства line-height: 28px и height: 24px.
Из-за этого есть две проблемы:

  1. так как height меньше, чем line-height, то текст подрезается внизу (смотри скриншот);
    BottomSheet ⋅ Core Components 🔊 2022-04-12 17-21-28
  2. у нас в проекте у всех элементах есть свойство box-sizing: border-box. Так как у заголовка задана высота и у него есть внутренние отступы, то они ломают высоту заголовка.
    Альфабанк 🔊 2022-04-12 17-25-03
@aleksey-ilin aleksey-ilin added the Bug Something isn't working label Apr 12, 2022
@reme3d2y reme3d2y assigned blackraydev and unassigned reme3d2y Apr 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants