-
Notifications
You must be signed in to change notification settings - Fork 56
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(doc): add small size input example #1230
Conversation
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.
IMO, we should backport the associated CSS too, but we maybe need to warn about it with an ODS alert (as the small version isn't allowed by the brand) ?
✅ Deploy Preview for boosted ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
908aa0b
to
1ad2db0
Compare
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.
I searched a bit in the doc and it seems like .form-control-sm
, .form-select-sm
are missing too, maybe you can tackle it with this PR ?
Otherwise, the actual implementation seems good to me
I'm really not sure about the sizes of inputs, it is a proposition... |
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.
I don't know if this is a good idea since we don't want to show people that they can be used, but I think we should display the small examples in the doc.
IMO, we should try to have every small input to have the same height : 30px or equivalent
defa839
to
40b1527
Compare
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.
LGTM, but we need to discuss a bit on:
$line-height-*
are weird to me ($line-height-sm > $line-height-base
) but could be handled in another PR- See on Bs why
.input-group
sizing changes padding of.form-control
instead of having amin-height:
like.form-control-*
do. .col-form-label-*
seems to be not aligned with the input value
This comment was marked as resolved.
This comment was marked as resolved.
95201f2
to
8460bb5
Compare
Add small size examples to match Bootstrap examples, even if they are not part of ODS, in forms:
Some callouts (warnings about incompatibility with ODS) should be added at all these places like in PR #1614 (if PR #1614 is merged before this one, should be added in this PR, if not, should be added in PR #1614) |
I updated the documentation with missing mentions to small sizes (compared to Bootstrap). |
Could you please update the migration guide as well? |
I'm wondering if you should mention it, because we don't want developers to use these small examples (not compatible with ODS) ! We may discuss it on daily ? |
…e good font-sizes and padding
…comply with Bootstrap
d7f11c0
to
47eb461
Compare
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.
Pushed some minor modifications. LGTM!
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Closes #1229