Always set the kanban board to full width for share links

This commit is contained in:
kolaente 2021-05-19 17:41:04 +02:00
parent fd610d3721
commit 52a0884ca4
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B
2 changed files with 10 additions and 6 deletions

View file

@ -1,6 +1,6 @@
<template> <template>
<div <div
:class="{'has-background': background}" :class="[background ? 'has-background' : '', $route.name+'-view']"
:style="{'background-image': `url(${background})`}" :style="{'background-image': `url(${background})`}"
class="link-share-container" class="link-share-container"
> >

View file

@ -47,7 +47,9 @@
overflow-y: auto overflow-y: auto
} }
.link-share-container.has-background .container { .link-share-container {
&.has-background,&.list\.kanban-view {
.container {
max-width: 100vw; max-width: 100vw;
.column { .column {
@ -55,6 +57,8 @@
margin: 0; margin: 0;
} }
} }
}
}
.link-share-container:not(.has-background) { .link-share-container:not(.has-background) {
.list-view { .list-view {