docs icon indicating copy to clipboard operation
docs copied to clipboard

đŸ’„Bouton new doc to adapt

Open AntoLC opened this issue 1 month ago • 1 comments

Bug Report

Depend the language the button does not look nice.

Image

AntoLC avatar Oct 15 '25 07:10 AntoLC

Just now Iresolved this issue,check : https://github.com/suitenumerique/docs/pull/1507

Proposal

  • [x] Add CSS rule targeting [data-testid="new-doc-button"] to prevent text wrapping
  • [x] Apply white-space: nowrap !important to keep text on single line
  • [x] Add min-width: fit-content !important to allow button to expand for longer text
  • [x] Ensure fix works for all language translations (tested with longest ones: Spanish/Italian "Nuevo documento"/"Nuovo documento")
  • [x] Update CHANGELOG.md with fix entry

veerababu1729 avatar Oct 20 '25 15:10 veerababu1729