Skip to content
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(#6355): publish button dropdown items overflow menu #6796

Merged

Conversation

ghughes13
Copy link
Contributor

Closes #6355

Summary

Fixes issue where publish drop down items were overflowing and not visible by:

  1. Increasing the dropdown menu width to 200px (Looks cramped and breaks into 3 lines at current width of 150px, but happy to undo this part if people disagree)

  2. Adjusting publish dropdown menu min-width property so that text wraps properly.

Test plan

This issue occurred in French, English, and German (Although issue only complained about French, this fixes all 3). Since these are the only locals explicitly declared in the code (That I can find) those are all I tested, however this fix should work regardless of the length (see lorem ipsum screenshot examples)

Broken - English
Broken - English

Fixed - English
Fixed - English

Fixed - French
Fixed - French

Fixed - German
Fixed - German

Fixed - Long Lorem Ipsum text to demo that longer text works
Fixed - Long Lorem Ipsum Text

Fixed - Longer lorem ipsum text just in case anyone wants to see it
Fixed - Longre Lorem Ipsum Text

Image of text wrapping to 3 lines at 150px. Again, just seemed cramped like this so extended by 50px.
Wrapping to 3 lines at 150px

Checklist

Please add a x inside each checkbox:

@netlify
Copy link

netlify bot commented Jun 6, 2023

Deploy Preview for decap-www canceled.

Name Link
🔨 Latest commit 1b1b76c
🔍 Latest deploy log https://app.netlify.com/sites/decap-www/deploys/647f72d0bab926000897a2e4

@ghughes13 ghughes13 changed the title 6355 publish button not responsive fix(#6355): publish button dropdown items overflow menu Jun 6, 2023
@martinjagodic martinjagodic merged commit 88382dc into decaporg:master Jun 12, 2023
martinjagodic pushed a commit that referenced this pull request Oct 16, 2023
* fix: resolved text overflowing on publish button options

* fix: adjusted where min-width was changed for publish drop down items
martinjagodic pushed a commit that referenced this pull request Oct 17, 2023
* fix: resolved text overflowing on publish button options

* fix: adjusted where min-width was changed for publish drop down items
martinjagodic pushed a commit to geotrev/netlify-cms that referenced this pull request Oct 17, 2023
…porg#6796)

* fix: resolved text overflowing on publish button options

* fix: adjusted where min-width was changed for publish drop down items
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Publish button not responsive in other languages
2 participants