fix: improve module name truncation in pill
Some checks failed
Deploy static content to Pages / deploy (push) Has been cancelled
Some checks failed
Deploy static content to Pages / deploy (push) Has been cancelled
- Add min-width: 0 and flex-shrink to pill for proper flex behavior - Reduce max-width to 120px desktop, 80px mobile 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -238,6 +238,8 @@ code, kbd {
|
||||
border-radius: 16px;
|
||||
font-size: 0.8rem;
|
||||
font-weight: 600;
|
||||
min-width: 0;
|
||||
flex-shrink: 1;
|
||||
}
|
||||
|
||||
.module-name {
|
||||
@@ -246,7 +248,7 @@ code, kbd {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
max-width: 150px;
|
||||
max-width: 120px;
|
||||
}
|
||||
|
||||
.module-pill .level-indicator {
|
||||
@@ -1084,7 +1086,7 @@ input:checked + .toggle-slider::before {
|
||||
}
|
||||
|
||||
.module-name {
|
||||
max-width: 100px;
|
||||
max-width: 80px;
|
||||
}
|
||||
|
||||
.level-label {
|
||||
|
||||
Reference in New Issue
Block a user