-
Notifications
You must be signed in to change notification settings - Fork 90
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(NcModal): Adjust modal header name and actions #5656
Conversation
- Fix size and margin of header name to work with new server styles on Nextcloud 30+ - Fix focus-visible, hover and open color of header actions on bright color theme Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
/backport to next |
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
SPDX header is missing 🥲 |
@@ -214,10 +217,10 @@ export default { | |||
tabindex="-1"> | |||
<!-- Header --> | |||
<transition name="fade-visibility" appear> | |||
<div class="modal-header"> | |||
<div class="modal-header" data-theme-dark> |
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.
This doesn't seem to work if a theme is enforced
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.
That requires a fix on server I think, to ensure we at least load the dark theme with data attribute if another one is enforced 🤔
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.
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.
But then talk has a problem as they are using this to have the dark "chat view" on every theme
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.
Yes, that's k, this is an edge case :)
Hope the server fix suits you! 👍
☑️ Resolves
@artonge this will fix the currently failing visual regression tests of Activity.
🖼️ Screenshots
🏁 Checklist
next
requested with a Vue 3 upgrade