Skip to content

Fix dark theme colors and overflowing rounded corners #5481

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

Merged
merged 1 commit into from
Sep 1, 2021

Conversation

gtsiolis
Copy link
Contributor

@gtsiolis gtsiolis commented Sep 1, 2021

Fix #4717.

@gtsiolis
Copy link
Contributor Author

gtsiolis commented Sep 1, 2021

@jankeromnes could you review these minor changes since you already took a look in #4717 (comment)? 🏀

@gtsiolis gtsiolis requested review from jankeromnes and removed request for AlexTugarev September 1, 2021 12:37
@jankeromnes
Copy link
Contributor

jankeromnes commented Sep 1, 2021

Sure! Thanks.

Instinctively, I'd really want an overflow-hidden to go with the container's rounded-xl class. I think that's a much better (and repeatable) solution than playing with rounded-t-xl or rounded-b-xl in the child containers.

However, let's see how the preview environment looks with the current changes. 🙂

@gtsiolis
Copy link
Contributor Author

gtsiolis commented Sep 1, 2021

Instinctively, I'd really want ...

@jankeromnes Same here!

Feel free to revert the changes in favor of using `overflow-hidden.

The only push back for not using overflow-hidden could be browser support although I think both approaches are well supported for what is needed here. See border-top-radius v. overflow-hidden.

@jankeromnes
Copy link
Contributor

The only push back for not using overflow-hidden could be browser support although I think both approaches are well supported for what is needed here. See border-top-radius v. overflow-hidden.

overflow: hidden seems like a cornerstone of the web that should work everywhere.

The way I read caniuse.com is:

  • border-top-radius is supported everywhere, except on Opera Mini
  • overflow: hidden is supported everywhere, even on Opera Mini (also, there are stripes but they're about additional features that we don't use)

Copy link
Contributor

@jankeromnes jankeromnes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Many thanks!

Works like a charm ✨

I'd still prefer an overflow-hidden fix, but it's cool to do that later. The most important is that the dashboard looks good (and feels snappy) in any theme and on any device. ☺️

/approve

@roboquat
Copy link
Contributor

roboquat commented Sep 1, 2021

LGTM label has been added.

Git tree hash: 1670f21a75012d81499af497b571e190d50bb11c

@roboquat
Copy link
Contributor

roboquat commented Sep 1, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jankeromnes

Associated issue: #4717

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@roboquat roboquat merged commit cdc5d75 into main Sep 1, 2021
@roboquat roboquat deleted the gt/color-and-radius-fixes branch September 1, 2021 13:17
@gtsiolis
Copy link
Contributor Author

gtsiolis commented Sep 1, 2021

Thanks @jankeromnes! 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢 🚢

@gtsiolis gtsiolis added 🧑‍🚀 crew: teams and projects and removed feature: teams and projects [DEPRECATED] Please, use feature: organizations or feature: projects labels instead. labels Sep 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix dark theme colors and overflowing rounded corners for the project import pages
3 participants