Skip to content

Commit

Permalink
Merge pull request #2568 from nextcloud/backport/2549/stable30
Browse files Browse the repository at this point in the history
[stable30] fix: Proper layout for split view
  • Loading branch information
elzody authored Sep 27, 2024
2 parents bfd00cc + 076dd5f commit 1756d49
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion css/viewer-main.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
/* extracted by css-entry-points-plugin */
@import './main-CBJkFvV1.chunk.css';
@import './main-yNbwR0sN.chunk.css';
@import './logger-B6WZzrWi.chunk.css';
2 changes: 1 addition & 1 deletion js/viewer-main.mjs

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions src/views/Viewer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1215,8 +1215,12 @@ export default {
}

&--split {
display: flex;

.viewer__file--active {
width: 50%;
left: 0;
position: relative;
}
}

Expand Down

0 comments on commit 1756d49

Please sign in to comment.