-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Fixed input field misalignments #15552
Conversation
PR Summary
|
Hm. I sort of liked the requiredness color being not-attached to the input item itself, but I guess I can live with this. Thanks! |
I'm noticing a few places where the requiredness was lost (example: ![]() |
I see what happened here. We were using the |
Exactly, I didnt realize that was the case elsewhere til modals. I can get the rest of the app cleaned up Monday. 🙂 |
I’m already working on it :) PR shortly |
Unfortunately, this change means the multi-checkout-to selector doesn't get highlighted as required anymore, since we can't make non-focusable things |
Related to the discussion at #15552 Signed-off-by: snipe <[email protected]>
Related to the discussion at snipe#15552 Signed-off-by: snipe <[email protected]>
Description
inputs were being resized to make room for the required class if required. By changing the
required
class to a pseudo class (input:required
,select:required
, etc) the required css highlights are applied inside of the input.BEFORE:
![image](https://private-user-images.githubusercontent.com/47435081/370459303-9562228c-0493-4f56-8560-a69d5c13bdb2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNzk3MjYsIm5iZiI6MTczOTE3OTQyNiwicGF0aCI6Ii80NzQzNTA4MS8zNzA0NTkzMDMtOTU2MjIyOGMtMDQ5My00ZjU2LTg1NjAtYTY5ZDVjMTNiZGIyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDA5MjM0NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQzODc0MTg1N2JlZWI1MTZkYWMwZTliZjYwMDdiMjI2MjQzMWQ2ZmU1NjIwNDYzM2I0YTE3YTI1ZDNiMTg1Y2QmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.G1_lRPZj7psiC7ISaaLRe2gPuSkEnUWalHO4v0j4yAY)
Create Asset:
Create Accessory:
![image](https://private-user-images.githubusercontent.com/47435081/370459406-36b8844c-77ff-4dd9-bb47-ac95bdba5884.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNzk3MjYsIm5iZiI6MTczOTE3OTQyNiwicGF0aCI6Ii80NzQzNTA4MS8zNzA0NTk0MDYtMzZiODg0NGMtNzdmZi00ZGQ5LWJiNDctYWM5NWJkYmE1ODg0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDA5MjM0NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWUwMmNiYmEwYzg3M2ExYmFhODBkYThmNzdiZjVmZmI4MmRlMDhjODY3OGE2MzBhYzllMDlmZjkzNWJhZWM5ODImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.OcW6tW6lIPa4hVh-WKsUqNtwBxiKa_016y2V3qdAYZQ)
AFTER:
![image](https://private-user-images.githubusercontent.com/47435081/370460103-6ac12bd4-d390-4ff2-98d3-fc0482b62b04.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNzk3MjYsIm5iZiI6MTczOTE3OTQyNiwicGF0aCI6Ii80NzQzNTA4MS8zNzA0NjAxMDMtNmFjMTJiZDQtZDM5MC00ZmYyLTk4ZDMtZmMwNDgyYjYyYjA0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDA5MjM0NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTkxNmRkMGRiNzFmYTg5YWI3ODY3YTQyN2ZiZDZmZTRiNjgxZjZmYjczZjg3MGIwYWRiNzNmOTFiNGE2N2RiNzEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.9wDlE8OfovBmGCeBzbOpjlhV2rkxwZ6SS1R-ewXWFUI)
Create Asset:
Create Accessory:
![image](https://private-user-images.githubusercontent.com/47435081/370460190-fc4395c5-936c-47e6-aa3f-5e6586186f96.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNzk3MjYsIm5iZiI6MTczOTE3OTQyNiwicGF0aCI6Ii80NzQzNTA4MS8zNzA0NjAxOTAtZmM0Mzk1YzUtOTM2Yy00N2U2LWFhM2YtNWU2NTg2MTg2Zjk2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDA5MjM0NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTNlN2U0MjVlMTI4NWQ3MjIxOWYyYzcyNDc5MzQyYmJkZjI4YmU4YzJmZDhhYmQyMDkyNTJjYmQzN2Y2ZTVmMDEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.E7rJS3E_6Qkz5VeY3FUdn8UB3y_J2DdKytHfZZunr88)
Fixes #[sc-26893]
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Test Configuration:
Checklist: