Changeset 271528 in webkit


Ignore:
Timestamp:
Jan 15, 2021 12:22:41 PM (18 months ago)
Author:
Patrick Angle
Message:

Web Inspector: Font Details sidebar - Improve line wrapping of table row titles when space is available
https://bugs.webkit.org/show_bug.cgi?id=219997

Reviewed by Devin Rousso.

Adjust the width of the title in each row to 105px, which provides space for both Historical Figures which is
an always-present row and Optical Size (opsz) which is a registed variation axis and is used in numerous
fonts including San Francisco. This overrides the normal fixed width of these titles of 85px, which causes these
and numerous other unregistered axis names and tags to wrap their title more aggresively than is stricly
necessary.

  • UserInterface/Views/FontDetailsPanel.css:

(.sidebar > .panel.details.style-font > .content .details-section > .content > .group > .row.simple > .label):

Location:
trunk/Source/WebInspectorUI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r271458 r271528  
     12021-01-15  Patrick Angle  <pangle@apple.com>
     2
     3        Web Inspector: Font Details sidebar - Improve line wrapping of table row titles when space is available
     4        https://bugs.webkit.org/show_bug.cgi?id=219997
     5
     6        Reviewed by Devin Rousso.
     7
     8        Adjust the width of the title in each row to 105px, which provides space for both `Historical Figures` which is
     9        an always-present row and `Optical Size (opsz)` which is a registed variation axis and is used in numerous
     10        fonts including San Francisco. This overrides the normal fixed width of these titles of 85px, which causes these
     11        and numerous other unregistered axis names and tags to wrap their title more aggresively than is stricly
     12        necessary.
     13
     14        * UserInterface/Views/FontDetailsPanel.css:
     15        (.sidebar > .panel.details.style-font > .content .details-section > .content > .group > .row.simple > .label):
     16
    1172021-01-13  Ebrahim Byagowi  <ebrahim@gnu.org>
    218
  • trunk/Source/WebInspectorUI/UserInterface/Views/FontDetailsPanel.css

    r271329 r271528  
    2424 */
    2525
     26.sidebar > .panel.details.style-font > .content .details-section > .content > .group > .row.simple > .label {
     27    width: 105px; /* Width of `Historical Figures` or `Optical Size (opsz)`. */
     28}
     29
    2630.sidebar > .panel.details.style-font > .content .details-section > .content > .group > .row.simple > .value .secondary {
    2731    color: var(--text-color-secondary);
Note: See TracChangeset for help on using the changeset viewer.