Commit b59670025f7633c38fdea98237dac794ce542467

Authored by Braulio Bhavamitra
2 parents 1891de67 dea9c592

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
public/stylesheets/cms.scss
... ... @@ -166,6 +166,12 @@ table.cms-articles .icon:hover {
166 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 175 .controller-cms .article-controls {
170 176 white-space: nowrap;
171 177 }
... ...
public/stylesheets/content/blog.scss
... ... @@ -7,6 +7,7 @@
7 7 }
8 8 #content .title {
9 9 margin-bottom: 2px;
  10 + word-wrap: break-word;
10 11 }
11 12 .blog-post .post-pic {
12 13 background-position: 50% 40%;
... ...
public/stylesheets/content/folder.scss
... ... @@ -2,6 +2,7 @@
2 2 .article-body ul.folder-content {
3 3 list-style-type: none;
4 4 padding: 0;
  5 + word-wrap: break-word;
5 6 }
6 7  
7 8 .folder-content .folder-item img {
... ...
public/stylesheets/content/image-gallery.scss
... ... @@ -13,6 +13,7 @@
13 13 list-style: none;
14 14 overflow: hidden;
15 15 background-repeat: no-repeat;
  16 + word-wrap: break-word;
16 17 }
17 18 .image-gallery-item span {
18 19 text-align: center;
... ...