From d4ce7d626c2e64aff7a2bd6660da92d170d3d70d Mon Sep 17 00:00:00 2001 From: CatalinScr Date: Fri, 4 Aug 2017 12:16:13 +0300 Subject: [PATCH] Modified the menu --- customize.dist/pages.js | 6 +++--- customize.dist/src/less2/pages/page-index.less | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/customize.dist/pages.js b/customize.dist/pages.js index 4d838bf3c..d554f34ab 100644 --- a/customize.dist/pages.js +++ b/customize.dist/pages.js @@ -236,16 +236,16 @@ define([ var infopageTopbar = function () { return h('div.cp-topbar', - h('div.cp-left', + h('div', h('a.navbar-brand', { href: 'index.html'}, [ h( 'img', { src: '/customize/CryptPad-white-logo.svg' }) ]) ), - h('div.cp-right.navbar.navbar-toggleable-md.navbar-light.navbar-inverse', + h('div.navbar.navbar-toggleable-md.navbar-light.navbar-inverse', h('button.navbar-toggler.navbar-toggler-right', {'type':'button'}, {'data-toggle':'collapse'}, {'data-target':'#menuCollapse'}, {'aria-controls': 'menuCollapse'}, {'aria-expanded':'false'}, {'aria-label':'Toggle navigation'}, [h('i.fa.fa-bars ') ]), - h('div.collapse.navbar-collapse#menuCollapse', [ + h('div.collapse.navbar-collapse.justify-content-end.flex-column#menuCollapse', [ h('a.nav-item.nav-link', { href: '/what-is-cryptpad.html'}, Msg.topbar_whatIsCryptpad), h('a.nav-item.nav-link', { href: 'https://blog.cryptpad.fr/'}, Msg.blog), h('a.nav-item.nav-link', { href: '/contact.html'}, Msg.contact), diff --git a/customize.dist/src/less2/pages/page-index.less b/customize.dist/src/less2/pages/page-index.less index e2c3bccb7..82832f792 100644 --- a/customize.dist/src/less2/pages/page-index.less +++ b/customize.dist/src/less2/pages/page-index.less @@ -63,7 +63,7 @@ } } .cp-topbar { - position: absolute; + //position: absolute; background: transparent; a { color: #fff; @@ -208,8 +208,8 @@ h4 { } @media (max-width: 991px) { #menuCollapse { - position: absolute; - left: -131px; + /*position: absolute; + left: -131px;*/ margin-top: 0.5em; text-align: right; }