Title: [190640] trunk/Source/WebInspectorUI
Revision
190640
Author
commit-qu...@webkit.org
Date
2015-10-06 13:28:25 -0700 (Tue, 06 Oct 2015)

Log Message

Web Inspector: Fix spacing of FindBanner prev/next buttons
https://bugs.webkit.org/show_bug.cgi?id=149717

Patch by Devin Rousso <dcrousso+web...@gmail.com> on 2015-10-06
Reviewed by Darin Adler.

The sizing and spacing of the previous and next buttons in the FindBanner
is slightly off and should be readjusted to ensure that both buttons are
the same size and have the same spacing.

* UserInterface/Views/FindBanner.css:
(.find-banner > button.segmented.right > .glyph):
(.find-banner > button.segmented):
(.find-banner > button.segmented > .glyph):
(.find-banner > button.segmented.left): Deleted.
(.find-banner > button.segmented.left > .glyph): Deleted.
(.find-banner > button.segmented.right): Deleted.

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (190639 => 190640)


--- trunk/Source/WebInspectorUI/ChangeLog	2015-10-06 20:26:32 UTC (rev 190639)
+++ trunk/Source/WebInspectorUI/ChangeLog	2015-10-06 20:28:25 UTC (rev 190640)
@@ -1,3 +1,22 @@
+2015-10-06  Devin Rousso  <dcrousso+web...@gmail.com>
+
+        Web Inspector: Fix spacing of FindBanner prev/next buttons
+        https://bugs.webkit.org/show_bug.cgi?id=149717
+
+        Reviewed by Darin Adler.
+
+        The sizing and spacing of the previous and next buttons in the FindBanner
+        is slightly off and should be readjusted to ensure that both buttons are
+        the same size and have the same spacing.
+
+        * UserInterface/Views/FindBanner.css:
+        (.find-banner > button.segmented.right > .glyph):
+        (.find-banner > button.segmented):
+        (.find-banner > button.segmented > .glyph):
+        (.find-banner > button.segmented.left): Deleted.
+        (.find-banner > button.segmented.left > .glyph): Deleted.
+        (.find-banner > button.segmented.right): Deleted.
+
 2015-10-06  Joseph Pecoraro  <pecor...@apple.com>
 
         Web Inspector: Simplify TimelineRecordBar a bit

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/FindBanner.css (190639 => 190640)


--- trunk/Source/WebInspectorUI/UserInterface/Views/FindBanner.css	2015-10-06 20:26:32 UTC (rev 190639)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/FindBanner.css	2015-10-06 20:28:25 UTC (rev 190640)
@@ -143,17 +143,11 @@
 .find-banner > button.segmented.left {
     border-top-right-radius: 0;
     border-bottom-right-radius: 0;
-
     margin-right: 0;
-
-    padding-left: 6px;
-    padding-right: 6px;
 }
 
 .find-banner > button.segmented.left > .glyph {
     background-image: -webkit-canvas(find-banner-previous-arrow-normal);
-    background-size: 7px 11px;
-    background-repeat: no-repeat;
 }
 
 .find-banner > button.segmented.left:active:not(:disabled) > .glyph {
@@ -163,17 +157,12 @@
 .find-banner > button.segmented.right {
     border-top-left-radius: 0;
     border-bottom-left-radius: 0;
-
     margin-left: -1px;
-
-    padding-left: 5px;
-    padding-right: 7px;
 }
 
 .find-banner > button.segmented.right > .glyph {
     background-image: -webkit-canvas(find-banner-next-arrow-normal);
-    background-size: 7px 11px;
-    background-repeat: no-repeat;
+    margin-left: 1px;
 }
 
 .find-banner > button.segmented.right:active:not(:disabled) > .glyph {
@@ -182,10 +171,14 @@
 
 .find-banner > button.segmented {
     min-width: 22px;
-    padding-top: 3px;
-    padding-bottom: 2px;
+    padding: 3px 6px 2px;
 }
 
+.find-banner > button.segmented > .glyph {
+    background-size: 7px 11px;
+    background-repeat: no-repeat;
+}
+
 .find-banner > button.segmented:active {
     z-index: 100;
     position: relative;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to