Skip to content
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

Merged
merged 1 commit into from
Aug 17, 2021
Merged

Fix header popover in file browser #1821

merged 1 commit into from
Aug 17, 2021

Conversation

CarlSchwan
Copy link
Member

  • Target version: master

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.

image

Missing to make this patch perfect is changing the z-index from 61 to 62 in the server repo, which I will do shortly

CarlSchwan added a commit to nextcloud/server that referenced this pull request Aug 12, 2021
Otherwise this will creates a minor visual glitch when nextcloud/text#1821
will get merged.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
@CarlSchwan
Copy link
Member Author

CarlSchwan commented Aug 12, 2021

/compile amend

overflow: scroll !important;
max-height: 50vh;
max-height: 40vh;
Copy link
Member

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.

Copy link
Member Author

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

Copy link
Member

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?

Copy link
Member Author

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

@CarlSchwan
Copy link
Member Author

/compile amend

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
@juliushaertl juliushaertl merged commit de72edb into master Aug 17, 2021
@juliushaertl juliushaertl deleted the work/popover branch August 17, 2021 10:52
@juliushaertl
Copy link
Member

/backport to stable22

@backportbot-nextcloud
Copy link

The backport to stable22 failed. Please do this backport manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants