Skip to content

Commit 34b7b2d

Browse files
authored
Merge pull request #4117 from nextcloud/fix/design
some design and css isues, opmizations
2 parents cd9a35c + 1d92b6b commit 34b7b2d

5 files changed

Lines changed: 9 additions & 8 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: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,8 @@ const showCalendarPeek = computed(
230230
}
231231
232232
.current-user {
233-
padding-top: 1.5rem;
234-
padding-bottom: 1.5rem;
233+
margin-top: 1.5rem;
234+
margin-bottom: 1.5rem;
235235
}
236236
237237
.option-element {
@@ -258,6 +258,7 @@ const showCalendarPeek = computed(
258258
259259
&.list-view {
260260
grid-template-columns: auto 5rem 5rem;
261+
max-width: var(--cap-width);
261262
262263
.grid-info,
263264
.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)