Avoid overflowing of unbreakable words in interwiki search results
[lhc/web/wiklou.git] / resources / src / mediawiki.special / mediawiki.special.search.interwikiwidget.styles.less
index 0b0f912..3f23dc4 100644 (file)
@@ -20,6 +20,7 @@
        width: 100%;
        float: left;
        list-style-type: none;
+       word-break: break-word;
 }
 
 /* clearfix */
@@ -148,7 +149,7 @@ to resemble a traditional dictionary definition */
        left: 0;
        text-align: center;
        color: #fff;
-       text-shadow: 0 0 10px rgba( 0, 0, 0, 0.4 ); /* improves legibility on white background*/
+       text-shadow: 0 0 10px rgba( 0, 0, 0, 0.4 ); /* improves legibility on white background */
        font-size: 0.8em;
        padding: 5px;
        background-color: rgba( 0, 0, 0, 0.5 );
@@ -183,7 +184,7 @@ to resemble a traditional dictionary definition */
 
        #mw-interwiki-results {
                width: 30%;
-               display: inline-block; /* used to align iw sidebar with the top of the main search results*/
+               display: inline-block; /* used to align iw sidebar with the top of the main search results */
                margin-left: 10%;
        }
        .searchresults .mw-search-createlink,