style: only truncate module name on mobile
- Remove max-width from desktop - Apply truncation only in mobile media query
This commit is contained in:
@@ -245,10 +245,6 @@ code, kbd {
|
|||||||
.module-name {
|
.module-name {
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
letter-spacing: 0.5px;
|
letter-spacing: 0.5px;
|
||||||
overflow: hidden;
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
white-space: nowrap;
|
|
||||||
max-width: 120px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.module-pill .level-indicator {
|
.module-pill .level-indicator {
|
||||||
@@ -1086,6 +1082,9 @@ input:checked + .toggle-slider::before {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.module-name {
|
.module-name {
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
max-width: 80px;
|
max-width: 80px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user