Edit article content image field alignment missing
| Comment | File | Size | Author |
|---|---|---|---|
| #20 | Create_Article___Olivero.png | 126 KB | mherchel |
| #19 | Screenshot 2021-06-27 at 1.37.07 AM.png | 828.94 KB | Agnesh Tank |
| #5 | Before patch Image field Alignment missing.png | 132.07 KB | manojithape |
| #2 | 3210918.2.patch | 2.9 KB | sakthivel m |
| Screenshot 1943-02-07 at 5.19.04 PM.png | 136.13 KB | sakthivel m |
Issue fork drupal-3210918
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3210918-olivero-edit-article
changes, plain diff MR !627
Comments
Comment #2
sakthivel m commented#2 Please verify the patch
Comment #3
sakthivel m commentedComment #4
gauravvvv commentedwe don't recommend using Olivero as an admin theme.
Comment #5
manojithape commentedVerified and tested patch#2. Patch applied successfully and looks good to me.
Testing Steps:
Testing Results:
After applying the patch on edit article content type image field alignment displayed properly.
Moving this ticket to RTBC.
Comment #6
manojithape commentedComment #8
lauriiiHas this been tested on the rendered node? It seems like these styles are targeted at that.
Comment #9
gauravvvv commentedThis is fixed in Drupal 9.3.x
Please review before patch screen recording. The alignment seems to be correct.
Comment #10
sakthivel m commented@Gauravmahlawat Issue still exits in Drupal 9.3.x, please verify in edit article content image field.
Comment #13
abhijith s commentedApplied patch #2 on 9.3.x and it works fine.
Before patch:

After patch:

RTBC +1
Comment #14
mherchelThis issue is only when using Olivero as an admin theme, which is not supported. Closing as 'won't fix'
Comment #15
lauriiiThe node form is not considered to be part of admin UI because there are sites where exposing it to users is a valid use case (for example, DrupalCon website). It can be configured to be rendered using the FE theme in the appearance page.
Comment #16
Agnesh Tank commentedTested on 9.3.x-dev with Chrome Browser(Version 90.0.4430.212 (Official Build))
Status: FAIL (Issue persist)
Changing to : Needs work
Patch File used: 3210918.2.patch
Testing steps followed for the issue verification
Install drupal 9.3.x-dev version
Go to Appearance -> Set Olivero theme as admin and default theme
Go to Content and create one article content type
Edit that newly created Article content type and observe on Edit article content image field alignment missing
Now apply the patch and clear the cache and again go to edit article content type and verify image field alignment displayed properly as other fields.
Testing Results:
Even After applying the patch on edit article content type image field is still misaligned
Comment #17
indrajithkb commentedHi @mherchel the issue is from very early stage of our theme (see the link ) if we are planning to fix this issue then am adding my findings here.
hi @Agnesh Tank thanks for testing, but unfortunately you have tested with some different theme not with olivero, that's why the issue still there.
Here i have tested with #2 patch . Thanks @Sakthivel M for the patch.
Adding screenshots
1. For edit node
Yes this is the expected solution.
2. For view node
This is not we are expecting , because according to our design (see the link) we need some negative margin for desktops.
So we need a solution with satisfying both points.
Comment #18
mherchelI want to see if this is still an issue after #3173008: [Code Review] wide image within article template a reusable component/class gets committed.
Comment #19
Agnesh Tank commentedHi @https://www.drupal.org/u/indrajith-kb I have tested with Olivero theme only.. and its reproducible on my local setup.... Please refer the below SS for the theme set as default & chrome browser
Comment #20
mherchelThis was fixed in #3173008: [Code Review] wide image within article template a reusable component/class
