Commit b59670025f7633c38fdea98237dac794ce542467
Exists in
web_steps_improvements
and in
9 other branches
Merge branch 'wrap-long-item-title' into 'master'
Wrap long titles of articles and uploads Avoids that long titles bleed through the borders in article/files listings. See merge request !790
Showing
4 changed files
with
9 additions
and
0 deletions
Show diff stats
public/stylesheets/cms.scss
@@ -166,6 +166,12 @@ table.cms-articles .icon:hover { | @@ -166,6 +166,12 @@ table.cms-articles .icon:hover { | ||
166 | white-space: nowrap; | 166 | white-space: nowrap; |
167 | } | 167 | } |
168 | 168 | ||
169 | +.controller-cms td.article-name { | ||
170 | + text-overflow: ellipsis; | ||
171 | + white-space: nowrap; | ||
172 | + overflow: hidden; | ||
173 | +} | ||
174 | + | ||
169 | .controller-cms .article-controls { | 175 | .controller-cms .article-controls { |
170 | white-space: nowrap; | 176 | white-space: nowrap; |
171 | } | 177 | } |
public/stylesheets/content/blog.scss
public/stylesheets/content/folder.scss
public/stylesheets/content/image-gallery.scss
@@ -13,6 +13,7 @@ | @@ -13,6 +13,7 @@ | ||
13 | list-style: none; | 13 | list-style: none; |
14 | overflow: hidden; | 14 | overflow: hidden; |
15 | background-repeat: no-repeat; | 15 | background-repeat: no-repeat; |
16 | + word-wrap: break-word; | ||
16 | } | 17 | } |
17 | .image-gallery-item span { | 18 | .image-gallery-item span { |
18 | text-align: center; | 19 | text-align: center; |