-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix header popover in file browser #1821
Conversation
Otherwise this will creates a minor visual glitch when nextcloud/text#1821 will get merged. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
/compile amend |
src/views/RichWorkspace.vue
Outdated
overflow: scroll !important; | ||
max-height: 50vh; | ||
max-height: 40vh; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reducing the rich workspace height more would box it in a bit much, no? Otherwise the change seems good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I probably should use calc(50vh - 50px) so that it use a similar size has before
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is that needed for the fix?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The new code doesn't apply the max-height on the editor but on the content instead so using calc(50vh - 50px) make it so that the height of the editor is the same as before
d5d46f8
to
18cee24
Compare
/compile amend |
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
18cee24
to
0b361a2
Compare
/backport to stable22 |
The backport to stable22 failed. Please do this backport manually. |
Summary
Previously the popover for the header in the file browser was cut off. Now instead of making the whole text editor scrollable, only the content is.
Missing to make this patch perfect is changing the z-index from 61 to 62 in the server repo, which I will do shortly