Changeset 196741 in webkit


Ignore:
Timestamp:
Feb 17, 2016 9:27:31 PM (8 years ago)
Author:
Nikita Vasilyev
Message:

REGRESSION (r196620): Web Inspector: When the scrollbars are always visible, the console prompt is 1px taller
https://bugs.webkit.org/show_bug.cgi?id=154328
<rdar://problem/24692996>

Introduce a CSS variable to ensure that the quick console is the
same height as the bottom right section of the styles sidebar.

Reviewed by Timothy Hatcher.

  • UserInterface/Views/CSSStyleDetailsSidebarPanel.css:

(.sidebar > .panel.details.css-style > .content ~ .options-container):
(.sidebar > .panel.details.css-style > .content ~ .class-list-container):

  • UserInterface/Views/QuickConsole.css:

(.quick-console):

  • UserInterface/Views/Variables.css:

(:root):

Location:
trunk/Source/WebInspectorUI
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r196739 r196741  
     12016-02-17  Nikita Vasilyev  <nvasilyev@apple.com>
     2
     3        REGRESSION (r196620): Web Inspector: When the scrollbars are always visible, the console prompt is 1px taller
     4        https://bugs.webkit.org/show_bug.cgi?id=154328
     5        <rdar://problem/24692996>
     6
     7        Introduce a CSS variable to ensure that the quick console is the
     8        same height as the bottom right section of the styles sidebar.
     9
     10        Reviewed by Timothy Hatcher.
     11
     12        * UserInterface/Views/CSSStyleDetailsSidebarPanel.css:
     13        (.sidebar > .panel.details.css-style > .content ~ .options-container):
     14        (.sidebar > .panel.details.css-style > .content ~ .class-list-container):
     15        * UserInterface/Views/QuickConsole.css:
     16        (.quick-console):
     17        * UserInterface/Views/Variables.css:
     18        (:root):
     19
    1202016-02-17  Devin Rousso  <dcrousso+webkit@gmail.com>
    221
  • trunk/Source/WebInspectorUI/UserInterface/Views/CSSStyleDetailsSidebarPanel.css

    r196713 r196741  
    7777.sidebar > .panel.details.css-style > .content ~ .options-container {
    7878    bottom: 0;
    79     height: 29px;
     79    height: var(--console-prompt-min-height);
    8080}
    8181
     
    124124.sidebar > .panel.details.css-style > .content ~ .class-list-container {
    125125    flex-wrap: wrap;
    126     bottom: 29px;
     126    bottom: var(--console-prompt-min-height);
    127127    max-height: 65px;
    128128    padding: 3px 2px;
  • trunk/Source/WebInspectorUI/UserInterface/Views/QuickConsole.css

    r196713 r196741  
    2626.quick-console {
    2727    position: relative;
     28    min-height: var(--console-prompt-min-height);
    2829
    2930    display: flex;
  • trunk/Source/WebInspectorUI/UserInterface/Views/Variables.css

    r196713 r196741  
    3737
    3838    --console-secondary-text-color: hsla(0, 0%, 0%, 0.33);
     39    --console-prompt-min-height: 30px;
    3940
    4041    --syntax-highlight-number-color: hsl(248, 100%, 40%);
Note: See TracChangeset for help on using the changeset viewer.