-
-
Notifications
You must be signed in to change notification settings - Fork 610
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
Add language independent field icon. #6298
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for plone-components canceled.
|
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.
@iRohitSingh Please take note of the checks which failed on this PR. It looks like you need to:
- Add the changelog
- Update test snapshots
- Update i18n
packages/volto/src/components/manage/Widgets/FormFieldWrapper.jsx
Outdated
Show resolved
Hide resolved
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.
Language and news look good. There are some failing tests to investigate.
Ok. I am investigating it. |
)} | ||
> | ||
<Grid> | ||
<Grid.Row stretched> | ||
{columns === 2 && ( | ||
<Grid.Column width="4"> | ||
<div className="wrapper"> | ||
<div className="wrapper title-icon-container"> |
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.
Seeing all the snapshots that were updated makes me wonder:
- Do we need the
title-icon-container
class even for the fields that don't have an icon? - Should we just apply the flex styles to all field wrappers and not add the new class?
/cc @sneridagh
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 agree with David, although I can see that write a class enough specific to match only that wrapper can be difficult. @iRohitSingh can you look into that?
Fix #6297