]> source.dussan.org Git - nextcloud-server.git/commitdiff
Declare header entries in the order they are displayed 32702/head
authorLouis Chemineau <louis@chmn.me>
Thu, 2 Jun 2022 09:22:59 +0000 (11:22 +0200)
committerLouis Chemineau <louis@chmn.me>
Thu, 2 Jun 2022 09:22:59 +0000 (11:22 +0200)
The notifications entry was declared after the search one, but they are rendered in a different order. This PR switch their declarations, so the order they appear in match their order in the DOM.

Signed-off-by: Louis Chemineau <louis@chmn.me>
core/templates/layout.user.php

index 82626733bd25267ced256f2111e62bf6bfe1b713..eafca3da1bdeb5a6c71500c6aab7756b5d593606 100644 (file)
@@ -133,8 +133,8 @@ $getUserAvatar = static function (int $size) use ($_): string {
                        </div>
 
                        <div class="header-right">
-                               <div id="notifications"></div>
                                <div id="unified-search"></div>
+                               <div id="notifications"></div>
                                <div id="contactsmenu">
                                        <div class="menutoggle" tabindex="0" role="button"
                                        aria-haspopup="true" aria-controls="contactsmenu-menu" aria-expanded="false">