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 background color of tables #3733

Merged
merged 2 commits into from
Feb 1, 2023
Merged

Fix background color of tables #3733

merged 2 commits into from
Feb 1, 2023

Conversation

susnux
Copy link
Contributor

@susnux susnux commented Feb 1, 2023

📝 Summary

The server css variables are set on the body tag currently, so if we use those variables, e.g. for aliasing them as done here, they need to be evaluated on the same or a child node. This means we can not define aliases on the :root element.

🖼️ Screenshots

🏚️ Before 🏡 After
black background on bright theme, unreadable white background, good readable

🏁 Checklist

  • Code is properly formatted (npm run lint / npm run stylelint / composer run cs:check)
  • Sign-off message is added to all commits

…theme but user uses bright one

Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
@susnux susnux added design Experience, interaction, interface, … 3. to review bug: regression labels Feb 1, 2023
@susnux
Copy link
Contributor Author

susnux commented Feb 1, 2023

/compile

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@cypress
Copy link

cypress bot commented Feb 1, 2023

1 flaky tests on run #8401 ↗︎

0 132 0 0 Flakiness 1

Details:

Fix background color of tables
Project: Text Commit: f52a1d3848
Status: Passed Duration: 03:33 💡
Started: Feb 1, 2023 1:18 PM Ended: Feb 1, 2023 1:22 PM
Flakiness  cypress/e2e/share.spec.js • 1 flaky test

View Output Video

Test
Open test.md in viewer > Share a file with download disabled shows an error Screenshot

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings.

@susnux susnux requested a review from mejo- February 1, 2023 14:12
@mejo- mejo- merged commit f817b4f into main Feb 1, 2023
@mejo-
Copy link
Member

mejo- commented Feb 1, 2023

Awesome, thanks a lot for looking into this @susnux.

@delete-merged-branch delete-merged-branch bot deleted the fix/tables-css branch February 1, 2023 14:17
@susnux
Copy link
Contributor Author

susnux commented Feb 1, 2023

/backport to stable25

@backportbot-nextcloud
Copy link

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

@susnux
Copy link
Contributor Author

susnux commented Feb 1, 2023

/backport 3700a0f to stable25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review bug: regression design Experience, interaction, interface, …
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Black table on light theme
4 participants