Problem/Motivation
The "Save" button and the "Hide Sidebar Panel" are not visible without scrolling down. However, when scrolling down the page, the left side content, which is page title,'s font size decreases, then it is visible.
I have attached a screenshot for better reference.
Steps to reproduce
- Install theme
- click on add content and make one node for article.
Proposed resolution
If you replace display: flex; with display: grid; for ".region-sticky__items__inner," the issue will be resolved.
Comment | File | Size | Author |
---|---|---|---|
#10 | after-patch.png | 501.59 KB | lokeshsahu |
#10 | before-patch.png | 399.03 KB | lokeshsahu |
#9 | after-patch.png | 151.95 KB | shweta__sharma |
#7 | 3400772-7.patch | 292 bytes | kevinfunk |
#6 | sidebar-panel-button-hidden.png | 10.08 KB | snowmountain |
Issue fork gin-3400772
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:
- 3400772-save-button-and changes, plain diff MR !341
- 8.x-3.x changes, plain diff MR !334
Comments
Comment #3
Nitin shrivastava CreditAttribution: Nitin shrivastava at OpenSense Labs commentedComment #4
saschaeggiIn which scenario does this happen? Screen size, toolbar variant used, Drupal version?
Thanks
Comment #5
Nitin shrivastava CreditAttribution: Nitin shrivastava at OpenSense Labs commentedThis is the default behavior when editing the node, which is visible before scrolling down, the issue to be observed.
Comment #6
snowmountain CreditAttribution: snowmountain as a volunteer commentedI have noticed a similar situation. The sidebar panel button is hidden.
Drupal version 9.5.11
gin version 8.x-3.0-rc7
A workaround I used was to use the following CSS code:
I uploaded a screnshot, https://www.drupal.org/files/issues/2023-11-25/sidebar-panel-button-hidd... .
Comment #7
kevinfunkIt happens when there is an extra long page title.
I've tested with "Proin tempor aliquam orci, pretium egestas justo cursus id. Fusce et massa ac lorem sollicitudin sollicitudin. Duis vel."
Comment #8
d.steindl CreditAttribution: d.steindl as a volunteer commentedHi, exactly. It occurred on forms with long entity titles.
Thanks for the patch #7. It resolves the issue in my projects.
Comment #9
shweta__sharma CreditAttribution: shweta__sharma at OpenSense Labs commentedYes @kevinfunk you are correct It happens when there is a long page title. I tested the #7 patch on Drupal 11 and it resolved the issue.
Comment #10
lokeshsahu CreditAttribution: lokeshsahu at Material commentedI have verified the issue with the help of #7 in Drupal 10 and the patch applied successfully without any error and fixed the issue. I have attached the screenshot for reference.
Comment #11
saschaeggiSomehow this MR got created from the wrong source branch (
8.x-3.x
) so the work needs to be transferred to the correct source branch (3400772-save-button-and
) before we can move ahead with this 👀Comment #14
djsagar CreditAttribution: djsagar at OpenSense Labs commentedUpdated MR based on comment #11 and updated tag for test the MR.
Thanks!
Comment #15
kevinfunk@djsagar I believe my patch from #7 is a more elegant approach.
Comment #17
kevinfunkComment #18
saschaeggi@kevinfunk thank you 👏
I left some blocking comments in the MR itself, otherwise LGTM 👀
Comment #19
kevinfunkThanks @saschaeggi.
Comment #20
saschaeggiThanks @kevinfunk LGTM 👌, waiting for a participant in this thread to set it to RTBC so we can merge 👍
Comment #21
leymannxI can confirm the MR fixed it for me.
Comment #22
saschaeggiAwesome let's get this merged then 👏
Comment #23
saschaeggiThanks y'all for participating here 🙌