Changeset 248539 in webkit


Ignore:
Timestamp:
Aug 12, 2019 12:17:56 PM (5 years ago)
Author:
Devin Rousso
Message:

Web Inspector: Elements: Styles: add space between media query and style icon
https://bugs.webkit.org/show_bug.cgi?id=200623

Reviewed by Joseph Pecoraro.

  • UserInterface/Views/SpreadsheetCSSStyleDeclarationSection.js:

(WI.SpreadsheetCSSStyleDeclarationSection.prototype.initialLayout):

  • UserInterface/Views/SpreadsheetCSSStyleDeclarationSection.css:

(.spreadsheet-css-declaration .header:not(:first-child), .spreadsheet-css-declaration .header:not(.editing-selector) .selector, .spreadsheet-css-declaration.has-icon .header.editing-selector .selector): Added.
(.spreadsheet-css-declaration .header.editing-selector .selector): Deleted.
Ensure the selector field doesn't shift vertically when entering/exiting editing mode.

Location:
trunk/Source/WebInspectorUI
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r248537 r248539  
     12019-08-12  Devin Rousso  <drousso@apple.com>
     2
     3        Web Inspector: Elements: Styles: add space between media query and style icon
     4        https://bugs.webkit.org/show_bug.cgi?id=200623
     5
     6        Reviewed by Joseph Pecoraro.
     7
     8        * UserInterface/Views/SpreadsheetCSSStyleDeclarationSection.js:
     9        (WI.SpreadsheetCSSStyleDeclarationSection.prototype.initialLayout):
     10        * UserInterface/Views/SpreadsheetCSSStyleDeclarationSection.css:
     11        (.spreadsheet-css-declaration .header:not(:first-child), .spreadsheet-css-declaration .header:not(.editing-selector) .selector, .spreadsheet-css-declaration.has-icon .header.editing-selector .selector): Added.
     12        (.spreadsheet-css-declaration .header.editing-selector .selector): Deleted.
     13        Ensure the selector field doesn't shift vertically when entering/exiting editing mode.
     14
    1152019-08-09  Joseph Pecoraro  <pecoraro@apple.com>
    216
  • trunk/Source/WebInspectorUI/UserInterface/Views/SpreadsheetCSSStyleDeclarationSection.css

    r248327 r248539  
    4848}
    4949
    50 .spreadsheet-css-declaration .header.editing-selector .selector {
     50.spreadsheet-css-declaration .header:not(:first-child),
     51.spreadsheet-css-declaration .header:not(.editing-selector) .selector,
     52.spreadsheet-css-declaration.has-icon .header.editing-selector .selector {
    5153    margin-top: 1px;
    5254}
     
    173175    }
    174176}
     177
  • trunk/Source/WebInspectorUI/UserInterface/Views/SpreadsheetCSSStyleDeclarationSection.js

    r248327 r248539  
    9797            }
    9898            console.assert(iconClassName);
    99             this._element.classList.add(iconClassName);
     99            this._element.classList.add("has-icon", iconClassName);
    100100        }
    101101
Note: See TracChangeset for help on using the changeset viewer.