diff --git a/src/App.vue b/src/App.vue index dddc0607..a87022e7 100644 --- a/src/App.vue +++ b/src/App.vue @@ -7,7 +7,6 @@ app-name="memories" v-else-if="!isConfigUnknown" :class="{ - 'remove-gap': removeOuterGap, 'has-nav': showNavigation, }" > @@ -164,11 +163,6 @@ export default defineComponent({ }), computed: { - ncVersion(): number { - const version = (window.OC).config.version.split('.'); - return Number(version[0]); - }, - native(): boolean { return nativex.has(); }, @@ -213,10 +207,6 @@ export default defineComponent({ return this.config.albums_enabled; }, - removeOuterGap(): boolean { - return this.ncVersion >= 25; - }, - showNavigation(): boolean { if (this.native) { return this.routeIsBase || this.routeIsExplore || (this.routeIsAlbums && !this.$route.params.name); diff --git a/src/styles/body.scss b/src/styles/body.scss index 7812ee34..7dcc5b7c 100644 --- a/src/styles/body.scss +++ b/src/styles/body.scss @@ -8,7 +8,7 @@ body { } // Nextcloud 25+: get rid of gap and border radius at right -#content-vue.remove-gap { +#content-vue { // was var(--body-container-radius) // now set on #app-navigation-vue border-radius: 0;