moodle-an-hochschulen / moodle-theme_boost_campus

Moodle 3.x Boost child theme which is intended to meet the needs of university campuses and adds several features and improvements ––– for Moodle 4.x please use our Theme Boost Union
GNU General Public License v3.0
38 stars 25 forks source link

File names break out of right sidebar #7

Closed sennewood closed 7 years ago

sennewood commented 7 years ago

In the sidebar on the right is this "My Files"-Box. We have the problem that the files names are to long for the box:

mdlfiles

Kathrin84 commented 7 years ago

Hi Sebastian, is that occuring within Boost core, too? I could assume so, because I saw such boundary issues within the core theme already. I will take a look at it if I can solve it. Best, Kathrin

sennewood commented 7 years ago

In Boost it looks fine: mdl_filename_boost

sennewood commented 7 years ago

Fix:

.block_private_files .ygtvchildren {
    white-space: normal;
}
Kathrin84 commented 7 years ago

Hi Sebastian, you have to distinguish between filenames that contain white spaces or not. In your first screenshot, all long file names do not contain spaces, in your second one it contains some. I could only reproduce the breaking out for filenames without spaces: meine_dateien

I did a fix for this and another problem with buttons with this commit: https://github.com/moodleuulm/moodle-theme_boost_campus/commit/9dc722808f9aa21b8229e3655acdc212c8326076

Thanks for your solution proposal.

I'll close this issue. Best, Kathrin

sennewood commented 7 years ago

I made an official ticket for this issue: https://tracker.moodle.org/browse/MDL-60004