-
Notifications
You must be signed in to change notification settings - Fork 69
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(textbox): use 100% width on input for fluid variant #2405
Conversation
🦋 Changeset detectedLatest commit: fa8ef3a The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
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.
Thanks for the super fast fix @HenriqueLimas! Just one quick code style comment, and then I think we're good to merge.
src/sass/textbox/textbox.scss
Outdated
@@ -244,4 +244,8 @@ textarea.textbox__control[readonly]:focus { | |||
|
|||
.textbox--fluid { | |||
width: 100%; | |||
|
|||
& .textbox__control { |
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.
Typically in skin
we avoid nesting whenever possible because it helps with scanability and searchability, would you mind separating this out into a separate selector?
.textbox--fluid .textbox__control {
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.
Thanks, done
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.
Couple of comments:
Please target 13.1.0 for now. We will be releasing that version soon
Please make sure the docs/static
file is not changing. It should not be.
Also add a changeset using npm run change
Thanks!
src/sass/textbox/textbox.scss
Outdated
@@ -244,4 +244,8 @@ textarea.textbox__control[readonly]:focus { | |||
|
|||
.textbox--fluid { | |||
width: 100%; | |||
|
|||
& .textbox__control { |
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.
Can we do
.textbox--fluid,
.textbox--fluid .textbox__control {
instead?
This way its easier to read in CSS inspector where the styles are coming from initially.
I suppose its 18.1.0, but currently this is breaking our mweb page, can we get it earlier? How much soon this is? |
b8b9715
to
50b34fa
Compare
Tomorrow probably |
50b34fa
to
cebcd23
Compare
cebcd23
to
fa8ef3a
Compare
Fixes #2404
Description
width: 100%
fortextbox--fluid
variant oninput
elementtextbox
fluid story with new structureNotes
Screenshots
Before

After

Checklist