app: remove useless gap on public links

Signed-off-by: Varun Patil <radialapps@gmail.com>
pull/672/head
Varun Patil 2023-05-22 20:18:50 -07:00
parent 7a534767ab
commit a11b347c6f
2 changed files with 8 additions and 0 deletions

View File

@ -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">

View File

@ -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 {