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

Removed the panels classes since they were deprecated in bootstrap 4 … #1213

Merged
merged 2 commits into from
Jun 11, 2021

Conversation

Oglopf
Copy link
Contributor

@Oglopf Oglopf commented Jun 10, 2021

…and adjusted the css classes to handle the colors.

…and adjusted the css classes to handle the colors.
@Oglopf
Copy link
Contributor Author

Oglopf commented Jun 10, 2021

Fixes #993

Comment on lines 109 to 112
.panel-ood-burgundy {
@include panel-variant($ood-burgundy, $ood-white, $ood-burgundy, $ood-burgundy);
.systemAppsHeader {
background-color: $ood-blue;
color: $ood-white;
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Does just a s/panel/card work here? You'll have to excuse my ignorance of css variants here.

Whatever we do, I think the names should continue to be snake case with hyphens instead of camel case.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Agreed on the naming, I'll make that change.

The bootstrap docs specifically called out panels as being no longer supported which is why I removed them altogether since we are using bs 4.6 according to the package.json. Here is the relevant bootstrap doc: https://getbootstrap.com/docs/4.6/components/card

Copy link
Contributor

@johrstrom johrstrom left a comment

Choose a reason for hiding this comment

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

LGTM

@johrstrom johrstrom merged commit 6991a63 into master Jun 11, 2021
@johrstrom johrstrom deleted the sandbox-heading branch June 11, 2021 21:05
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.

3 participants