app: remove useless gap on public links
Signed-off-by: Varun Patil <radialapps@gmail.com>pull/672/head
parent
7a534767ab
commit
a11b347c6f
|
@ -6,6 +6,7 @@
|
||||||
v-else
|
v-else
|
||||||
:class="{
|
:class="{
|
||||||
'remove-gap': removeOuterGap,
|
'remove-gap': removeOuterGap,
|
||||||
|
'has-nav': showNavigation,
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
<NcAppNavigation v-if="showNavigation">
|
<NcAppNavigation v-if="showNavigation">
|
||||||
|
|
|
@ -13,6 +13,13 @@ body {
|
||||||
// now set on #app-navigation-vue
|
// now set on #app-navigation-vue
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
width: calc(100% - var(--body-container-margin) * 1); // was *2
|
width: calc(100% - var(--body-container-margin) * 1); // was *2
|
||||||
|
margin-right: 0;
|
||||||
|
|
||||||
|
// If no navigation remove both margins
|
||||||
|
&:not(.has-nav) {
|
||||||
|
width: calc(100%);
|
||||||
|
margin-left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
// Reduce size of navigation. NC <25 doesn't like this on mobile.
|
// Reduce size of navigation. NC <25 doesn't like this on mobile.
|
||||||
#app-navigation-vue {
|
#app-navigation-vue {
|
||||||
|
|
Loading…
Reference in New Issue