-
assigned issue to
Long course names spill over in My Courses dropdown menu
As shown in the image:
Comments (19)
-
-
- changed status to resolved
Fix
#304- reduce length of displayed coursename to prevent spill→ <<cset f311f7dc4daf>>
-
Fix
#304- reduce length of displayed coursename to prevent spill→ <<cset f311f7dc4daf>>
-
reporter Hello,
This one works well when the hidden courses are disabled but when enabled then one dot still extends beyond the drop down.
-
Fix
#304→ <<cset a6ea5ab8d6cd>>
-
Can you try it now please?
-
reporter It doesn't seem to be working on my end. Not sure if I'm doing something wrong ....
-
can you purge your caches and send another screen shot please?
-
reporter Have been regularly purging the cache - with each batch of testing ,,, here's the latest screen shot...
Now it also looks the same with the hidden courses disabled.
-
Fix
#304→ <<cset 11bc7e9a6a0a>>
-
Can you try again after downloading latest version from bit bucket please. Also what browser are you using?
-
reporter Looks fine now - with and without hidden courses. Thanks!
Browser is Firefox.
-
reporter Hello,
Just noticed that there is still a little spillover as in this case:
There are 30 characters displayed but as the font is not fixed-width and there are a couple m's it seems to have spilled over.
I was wondering if the "..." needs to be included when the full course name is displayed as in "Library"?
Thanks.
-
- changed status to open
-
The physical length of the string depends of: the font kerning, the character width and the number of characters.
The string is truncated to 30 characters but if you use a font with a big kerning or wider characters then the total length spills out the dropdown.
Since a big kerning font is not recommended for content, and condensed as well, try to use a Open Sans. Roboto, Lato, Raleway and many other that have a normal kerning and width.
-
I will add an admin setting so length can be adjusted for different fonts. With the current setting our own install is not making best use of the space since it was reduced for this issue.
-
reporter It's the default Open Sans for the main font - I haven't changed it.
I've just changed Headers font to PT Sans and the Site Title font is set to Della Respira.
-
- changed status to resolved
Fix
#304→ <<cset 9ca690c72310>>
-
Fix
#304adding admin setting to adjust string length→ <<cset 61ec2da48c67>>
- Log in to comment