popcode icon indicating copy to clipboard operation
popcode copied to clipboard

set title width to fill available area and truncate any additional text

Open werner33 opened this issue 2 years ago • 0 comments

In this commit the following changes are made:

  • Eliminated an unused selector in css .preview__title
  • Added a selector .preview__title-text
  • Added rules to limit title text to no more than 100% width minus 75px for the three icons in the same row
  • Truncated the title when there is not enough room to display the full text

Note: the title is still centered as the parent element has text-align:center;

Screen Shot 2023-04-01 at 7 08 46 PM Screen Shot 2023-04-01 at 7 08 39 PM

werner33 avatar Apr 01 '23 23:04 werner33