mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 03:34:40 +00:00
fix: Text now wraps correctly in most divs
Adjusted divs to wrap text, this can cause some issues where substantially long words get chopped up, but scaling down the font size makes it look weird.
This commit is contained in:
+20
-1
@@ -379,6 +379,16 @@ ul.magicDelete > li.deleting {
|
||||
padding: 0;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* Allow long course/assessment names in the sidebar to wrap and break safely */
|
||||
#menu li > label,
|
||||
#menu section > label {
|
||||
white-space: normal;
|
||||
overflow-wrap: anywhere;
|
||||
word-break: break-word;
|
||||
hyphens: auto;
|
||||
line-height: 1.2;
|
||||
}
|
||||
#menu {
|
||||
width: 270px;
|
||||
z-index: 19;
|
||||
@@ -1325,7 +1335,16 @@ html.transparencyEffects [class*="ResourceList__ResourceItem___voTSd"] [class*="
|
||||
font-size: 20px !important;
|
||||
font-weight: 500;
|
||||
min-height: 46px;
|
||||
height: 36%;
|
||||
/* Let the title expand naturally but clamp to 2 lines to avoid overlap */
|
||||
height: auto;
|
||||
line-height: 1.2;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
overflow-wrap: anywhere;
|
||||
word-break: break-word;
|
||||
hyphens: auto;
|
||||
}
|
||||
.day h3 {
|
||||
padding: 0px 5px;
|
||||
|
||||
Reference in New Issue
Block a user