Skip to content

Commit 1d92b6b

Browse files
committed
adjust vars and fix .gitignore
Signed-off-by: dartcafe <github@dartcafe.de>
1 parent bf03eea commit 1d92b6b

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

.gitignore

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# SPDX-FileCopyrightText: 2016 Nextcloud contributors
22
# SPDX-License-Identifier: AGPL-3.0-or-later
3+
/assets/
4+
/css/*.map
5+
/js/*
6+
/css/*
37
.DS_Store
48
.sass-cache/
59
.php_cs.cache
@@ -8,11 +12,7 @@
812
.project/
913
.idea/
1014
.vscode/
11-
assets/
1215
build/
13-
css/*.map
14-
js/*
15-
css/*
1616
nbproject/
1717
node_modules/
1818
tests/.phpunit.result.cache

src/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import { usePollStore } from './stores/poll.ts'
2020
import { showSuccess } from '@nextcloud/dialogs'
2121
2222
import '@nextcloud/dialogs/style.css'
23-
import './assets/scss/colors.scss'
23+
import './assets/scss/vars.scss'
2424
import './assets/scss/hacks.scss'
2525
import './assets/scss/print.scss'
2626
import './assets/scss/transitions.scss'
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@
1010
--color-polls-background-no: rgba(var(--color-error-rgb), 0.2);
1111
--color-polls-background-maybe: rgba(var(--color-warning-rgb), 0.1);
1212
--container-background-light: rgba(var(--color-info-rgb), 0.1);
13+
--cap-width: 49rem;
1314
}

src/components/VoteTable/VoteTable.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ const showCalendarPeek = computed(
258258
259259
&.list-view {
260260
grid-template-columns: auto 5rem 5rem;
261-
max-width: 49rem;
261+
max-width: var(--cap-width);
262262
263263
.grid-info,
264264
.option-spacer,

src/views/Vote.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,6 @@ onUnmounted(() => {
173173
}
174174
175175
.vote_main {
176-
--cap-width: 49rem;
177176
.markdown-description {
178177
margin: auto;
179178
max-width: var(--cap-width);

0 commit comments

Comments
 (0)