Title: [212719] trunk/Source/WebInspectorUI
Revision
212719
Author
[email protected]
Date
2017-02-21 10:20:07 -0800 (Tue, 21 Feb 2017)

Log Message

Web Inspector: RTL: console scope bar's unread message indicator is misaligned
https://bugs.webkit.org/show_bug.cgi?id=168625

Reviewed by Matt Baker.

* UserInterface/Views/LogContentView.css:
(.log-scope-bar > li.unread::before):
(body[dir=ltr] .log-scope-bar > li.unread::before):
(body[dir=rtl] .log-scope-bar > li.unread::before):

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (212718 => 212719)


--- trunk/Source/WebInspectorUI/ChangeLog	2017-02-21 18:12:20 UTC (rev 212718)
+++ trunk/Source/WebInspectorUI/ChangeLog	2017-02-21 18:20:07 UTC (rev 212719)
@@ -1,3 +1,15 @@
+2017-02-21  Brian Burg  <[email protected]>
+
+        Web Inspector: RTL: console scope bar's unread message indicator is misaligned
+        https://bugs.webkit.org/show_bug.cgi?id=168625
+
+        Reviewed by Matt Baker.
+
+        * UserInterface/Views/LogContentView.css:
+        (.log-scope-bar > li.unread::before):
+        (body[dir=ltr] .log-scope-bar > li.unread::before):
+        (body[dir=rtl] .log-scope-bar > li.unread::before):
+
 2017-02-20  Joseph Pecoraro  <[email protected]>
 
         Web Inspector: Tooltip for "Show console tab" should read "Show Console tab"

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/LogContentView.css (212718 => 212719)


--- trunk/Source/WebInspectorUI/UserInterface/Views/LogContentView.css	2017-02-21 18:12:20 UTC (rev 212718)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/LogContentView.css	2017-02-21 18:20:07 UTC (rev 212719)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2013 Apple Inc. All rights reserved.
+ * Copyright (C) 2013-2017 Apple Inc. All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
@@ -35,8 +35,21 @@
 
     -webkit-clip-path: circle(50% at 50% 50%);
     animation: unread-background-pulse 1.5s ease-in-out infinite alternate-reverse;
+
+    --unread-indicator-margin-start: -10px;
+    --unread-indicator-margin-end: 2px;
 }
 
+body[dir=ltr] .log-scope-bar > li.unread::before {
+    margin-left: var(--unread-indicator-margin-start);
+    margin-right: var(--unread-indicator-margin-end);
+}
+
+body[dir=rtl] .log-scope-bar > li.unread::before {
+    margin-left: var(--unread-indicator-margin-end);
+    margin-right: var(--unread-indicator-margin-start);
+}
+
 .log-scope-bar > li.unread:hover::before {
     visibility: hidden;
 }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to