]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fixes nextcloud/gallery#269
authorMarin Treselj <marin@pixelipo.com>
Fri, 28 Jul 2017 12:44:29 +0000 (14:44 +0200)
committerMorris Jobke <hey@morrisjobke.de>
Mon, 14 Aug 2017 20:21:42 +0000 (22:21 +0200)
Signed-off-by: Marin Treselj <marin@pixelipo.com>
core/css/header.scss
core/js/js.js
core/templates/layout.user.php

index c3a878357cec463882b3968065931e039a0d0004..e530763b41f5a553dc936f55000e18839387ce34 100644 (file)
                vertical-align: middle;
        }
 
-       #header-left,
-       #header-right {
+       .header-left,
+       .header-right {
                display: inline-flex;
                align-items: center;
        }
 
-       #header-left {
+       .header-left {
                flex: 0 0;
                flex-grow: 1;
        }
 
-       #header-right {
+       .header-right {
                justify-content: flex-end;
        }
 }
index 2aa7bf1bc558df82fe79c3e3a31cc55931380402..c02ef5c7920369a04a64e576397c930804d96351 100644 (file)
@@ -1203,7 +1203,7 @@ OC.Notification={
 
        /**
         * Updates (replaces) a sanitized notification.
-        * 
+        *
         * @param {string} text Message to display
         * @return {jQuery} JQuery element for notificaiton row
         */
@@ -1512,7 +1512,7 @@ function initCore() {
 
        var resizeMenu = function() {
                var appList = $('#appmenu li');
-               var headerWidth = $('#header-left').width() - $('#nextcloud').width()
+               var headerWidth = $('.header-left').width() - $('#nextcloud').width()
                var usePercentualAppMenuLimit = 0.33;
                var minAppsDesktop = 8;
                var availableWidth = headerWidth - $(appList).width();
index f22bfe85955b25c2eaad170d81e7ba4cd7f143d9..50ed08761ae46329f068ad8953fefa6f7c9b92b0 100644 (file)
@@ -43,7 +43,7 @@
                <div id="notification"></div>
        </div>
        <header role="banner"><div id="header">
-                       <div id="header-left">
+                       <div class="header-left">
                                <a href="<?php print_unescaped(link_to('', 'index.php')); ?>"
                                        id="nextcloud" tabindex="1">
                                        <div class="logo-icon">
 
                        </div>
 
-                       <div id="header-right">
+                       <div class="header-right">
                                <form class="searchbox" action="#" method="post" role="search" novalidate>
                                        <label for="searchbox" class="hidden-visually">
                                                <?php p($l->t('Search'));?>