feat(ui): text-fit, line-height, and ems against the font size an element ends with

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Orkun ÇAKILKAYA 2026-09-24 21:51:41 +03:00
parent d163bad406
commit 355201f094
16 changed files with 149 additions and 21 deletions

View file

@ -0,0 +1,10 @@
@import "base.lss";
.page { width: 400px }
.chip { width: 100px; font-size: 16px; text-fit: shrink 10px }
.mid { width: 80px }
.lines { width: 60px; font-size: 16px; line-height: 2 }
.tall { line-height: 30px }
.em { padding: 1em; font-size: 20px }
.em2 { padding: 1em }
.page .em2 { font-size: 24px }
.tie { color: #00ff00 }