⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 279493 in webkit


Ignore:
Timestamp:
Jul 1, 2021, 6:36:04 PM (5 years ago)
Author:
Patrick Angle
Message:

Web Inspector: [Regression: r279271] Sources: Breakpoints section in navigation sidebar disappears when Web Inspector becomes taller than 650px
​https://bugs.webkit.org/show_bug.cgi?id=227597

Reviewed by Devin Rousso.

As of r279271, flex base size is no longer clamped by max-height. As a result the non-clamped element
(resources-container) was sized to the full height of the container, leaving no space for the other sections
to be shown. Removing the height: 100%; declaration resolves this by allowing the flex container to lay out
its children as needed. Because the resources container has no maximum height constraint, it still occupies the
remaining height of the container. Each container will also continue to shrink/grow at their prescribed ratio
just as they did before r279271.

  • UserInterface/Views/SourcesNavigationSidebarPanel.css:

(@media (min-height: 650px) .sidebar > .panel.navigation.sources > .content > :matches(.call-stack-container, .breakpoints-container, .resources-container, .local-overrides-container)):

Location:
trunk/Source/WebInspectorUI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r279422 r279493  
     12021-07-01  Patrick Angle  <pangle@apple.com>
     2
     3        Web Inspector: [Regression: r279271] Sources: Breakpoints section in navigation sidebar disappears when Web Inspector becomes taller than 650px
     4        https://bugs.webkit.org/show_bug.cgi?id=227597
     5
     6        Reviewed by Devin Rousso.
     7
     8        As of r279271, flex base size is no longer clamped by max-height. As a result the non-clamped element
     9        (`resources-container`) was sized to the full height of the container, leaving no space for the other sections
     10        to be shown. Removing the `height: 100%;` declaration resolves this by allowing the flex container to lay out
     11        its children as needed. Because the resources container has no maximum height constraint, it still occupies the
     12        remaining height of the container. Each container will also continue to shrink/grow at their prescribed ratio
     13        just as they did before r279271.
     14
     15        * UserInterface/Views/SourcesNavigationSidebarPanel.css:
     16        (@media (min-height: 650px) .sidebar > .panel.navigation.sources > .content > :matches(.call-stack-container, .breakpoints-container, .resources-container, .local-overrides-container)):
     17
    1182021-06-30  Patrick Angle  <pangle@apple.com>
    219
  • trunk/Source/WebInspectorUI/UserInterface/Views/SourcesNavigationSidebarPanel.css

    r269166 r279493  
    132132
    133133    .sidebar > .panel.navigation.sources > .content > :matches(.call-stack-container, .breakpoints-container, .resources-container, .local-overrides-container) {
    134         height: 100%;
    135134        overflow-y: auto;
    136135    }
Note: See TracChangeset for help on using the changeset viewer.