Web Inspector: CSS: class input isn't fully centered
authordrousso@apple.com <drousso@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 5 Mar 2019 01:34:16 +0000 (01:34 +0000)
committerdrousso@apple.com <drousso@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 5 Mar 2019 01:34:16 +0000 (01:34 +0000)
https://bugs.webkit.org/show_bug.cgi?id=195297

Reviewed by Matt Baker.

* UserInterface/Views/GeneralStyleDetailsSidebarPanel.css:
(.sidebar > .panel.details.css-style > .content ~ .class-list-container > .new-class > .class-name-input):
(body[dir=ltr] .sidebar > .panel.details.css-style > .content ~ .class-list-container > .new-class > .class-name-input): Deleted.
(body[dir=rtl] .sidebar > .panel.details.css-style > .content ~ .class-list-container > .new-class > .class-name-input): Deleted.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@242405 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/UserInterface/Views/GeneralStyleDetailsSidebarPanel.css

index 3a16e76..80b15aa 100644 (file)
@@ -1,5 +1,17 @@
 2019-03-04  Devin Rousso  <drousso@apple.com>
 
+        Web Inspector: CSS: class input isn't fully centered
+        https://bugs.webkit.org/show_bug.cgi?id=195297
+
+        Reviewed by Matt Baker.
+
+        * UserInterface/Views/GeneralStyleDetailsSidebarPanel.css:
+        (.sidebar > .panel.details.css-style > .content ~ .class-list-container > .new-class > .class-name-input):
+        (body[dir=ltr] .sidebar > .panel.details.css-style > .content ~ .class-list-container > .new-class > .class-name-input): Deleted.
+        (body[dir=rtl] .sidebar > .panel.details.css-style > .content ~ .class-list-container > .new-class > .class-name-input): Deleted.
+
+2019-03-04  Devin Rousso  <drousso@apple.com>
+
         Web Inspector: Audit: show the version number in the UI
         https://bugs.webkit.org/show_bug.cgi?id=195292
 
index 8dfa2a7..67fd71b 100644 (file)
@@ -151,7 +151,6 @@ body[dir=rtl] .sidebar > .panel.details.css-style > .content ~ .options-containe
     overflow-y: scroll;
 }
 
-/* FIXME: <https://webkit.org/b/152674> Elements with the "hidden" attribute still show up if "display: flex;" */
 .sidebar > .panel.details.css-style > .content ~ .class-list-container[hidden] {
     display: none;
 }
@@ -165,16 +164,6 @@ body[dir=rtl] .sidebar > .panel.details.css-style > .content ~ .options-containe
     flex-grow: 1;
     height: 18px;
     margin: 0;
-
-    --panel-details-css-style-content-class-list-container-new-class-class-name-input-margin-start: 2px;
-}
-
-body[dir=ltr] .sidebar > .panel.details.css-style > .content ~ .class-list-container > .new-class > .class-name-input {
-    margin-left: var(--panel-details-css-style-content-class-list-container-new-class-class-name-input-margin-start);
-}
-
-body[dir=rtl] .sidebar > .panel.details.css-style > .content ~ .class-list-container > .new-class > .class-name-input {
-    margin-right: var(--panel-details-css-style-content-class-list-container-new-class-class-name-input-margin-start);
 }
 
 .sidebar > .panel.details.css-style > .content ~ .class-list-container > *:matches(.new-class, .class-toggle) {