Skip to content

Commit

Permalink
Fix permalink input field text overflow ellipsis for Firefox (#57310)
Browse files Browse the repository at this point in the history
* Fix permalink input field text overflow ellipsis for Firefox.

* Add comment.
  • Loading branch information
afercia committed Jan 30, 2024
1 parent 7934adc commit 6a84d8f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/editor/src/components/post-publish-panel/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,9 @@
}

input[readonly] {
padding: $grid-unit-20;
// Do not increase top and bottom padding otherwise Firefox won't show the text overflow ellipsis.
// See https://github.com/WordPress/gutenberg/pull/57310
padding: $grid-unit-15;
background: $gray-100;
border-color: $gray-400;
overflow: hidden;
Expand Down

0 comments on commit 6a84d8f

Please sign in to comment.