-
Notifications
You must be signed in to change notification settings - Fork 4
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
VZV | Add padding to bottom text in summary widgets #903
Conversation
<span className="text-muted text-wrap pl-4"> | ||
{`${text} ${numberWithCommas(lastYearTotal)} this time last year`} | ||
</div> | ||
</span> |
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.
Cool stuff! Clever change!
.widget-body { | ||
height: 70%; | ||
} | ||
|
||
.widget-footer { | ||
height: 30%; | ||
} | ||
|
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.
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.
👍
Closes cityofaustin/atd-data-tech#3650
This PR updates the
SummaryWidget
component styles to keep the padding within the card footers and the card heights even across the widgets whether the text wraps or not. The height of the card body and footer were change from 75%/25% to 70%/30% and then some custom CSS was replaced with Bootstrap classes to keep the arrows and text in the footer vertically aligned.Update screenshots