Skip to content

Commit

Permalink
Fix/tup 660 form badge font size zero can remove all space (#269)
Browse files Browse the repository at this point in the history
* fix: tup-660 form__badge font-size: 0 caveat

* docs: tup-660 url to alternative future solution

* docs: tup-660 simpler comment

* fix: tup-660 reduce (not zero) form__badge size
  • Loading branch information
wesleyboar authored Nov 21, 2023
1 parent 0ba9a5a commit c23dda4
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/components/c-form.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/core-styles.base.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/trumps/s-form.css

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion src/lib/_imports/components/c-form.css
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,10 @@
display: inline-block;
visibility: hidden;
line-height: 0;
font-size: 0;

/* To reduce asterisk character space */
/* WARNING: https://github.com/TACC/Core-Styles/pull/269 */
font-size: 0.25em;
}
:--form__badge::after {
visibility: visible;
Expand Down

0 comments on commit c23dda4

Please sign in to comment.