]> source.dussan.org Git - nextcloud-server.git/commitdiff
Long Application Names are ellipsis correctly.
authorraghunayyar <me@iraghu.com>
Wed, 10 Apr 2013 13:44:50 +0000 (19:14 +0530)
committerraghunayyar <me@iraghu.com>
Thu, 11 Apr 2013 05:29:46 +0000 (10:59 +0530)
core/css/styles.css
core/templates/layout.user.php

index 839f25cef4c2212820e0b49734d3fd08a5d0cd91..7e81e702a91f4ca200114f4b41f03da82f6a619b 100644 (file)
@@ -248,8 +248,8 @@ fieldset.warning a { color:#b94a48 !important; font-weight:bold; }
        overflow:hidden; box-sizing:border-box; -moz-box-sizing:border-box;
 }
 #navigation:hover { overflow-y:auto; }
-#navigation a {
-       display:block; padding:8px 0 4px;
+#navigation a span {
+       display:block;
        text-decoration:none; font-size:10px; text-align:center;
        color:#fff; text-shadow:#000 0 -1px 0;
        -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; filter:alpha(opacity=50); opacity:.5;
@@ -257,7 +257,7 @@ fieldset.warning a { color:#b94a48 !important; font-weight:bold; }
 }
        #navigation a:hover, #navigation a:focus { -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)"; filter:alpha(opacity=80); opacity:.8; }
        #navigation a.active { -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; filter:alpha(opacity=100); opacity:1; }
-       #navigation .icon { display:block; width:32px; height:32px; margin:0 16px 0; }
+       #navigation .icon { display:block; width:32px; height:32px; margin:0 16px 0; padding:8px 0 4px;}
        #navigation li:first-child a { padding-top:16px; }
 
 
index 982efb412b6e1ca61e920eb6ac66b6252fe7abfa..0bab2bb43a7e036f1f9bca0ca9e216c8fe08b6a7 100644 (file)
@@ -75,7 +75,9 @@
                                                <a href="<?php print_unescaped($entry['href']); ?>" title=""
                                                        <?php if( $entry['active'] ): ?> class="active"<?php endif; ?>>
                                                        <img class="icon svg" src="<?php print_unescaped($entry['icon']); ?>"/>
-                                                       <?php p($entry['name']); ?>
+                                                       <span>
+                                                               <?php p($entry['name']); ?>
+                                                       </span>
                                                </a>
                                        </li>
                                <?php endforeach; ?>