Skip to content

Commit

Permalink
Always use the main background for the default theme
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
  • Loading branch information
juliushaertl authored and nextcloud-command committed Jul 7, 2022
1 parent 7e438f1 commit 008bc8c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions js/viewer-main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/viewer-main.js.map

Large diffs are not rendered by default.

4 changes: 1 addition & 3 deletions src/views/Viewer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -838,9 +838,7 @@ export default {
&.theme--default {
&.modal-mask {
body.theme--light & {
background-color: rgba(255, 255, 255, .92) !important;
}
background-color: var(--color-main-background) !important;
}
::v-deep .modal-title,
::v-deep .modal-header .icons-menu {
Expand Down

0 comments on commit 008bc8c

Please sign in to comment.