Title: [182796] trunk/Source/WebInspectorUI
Revision
182796
Author
nvasil...@apple.com
Date
2015-04-14 08:15:35 -0700 (Tue, 14 Apr 2015)

Log Message

Web Inspector: Align array's indices and set's bullet points under the property icon
https://bugs.webkit.org/show_bug.cgi?id=143698

Reviewed by Timothy Hatcher.

* UserInterface/Views/ObjectTreeMapEntryTreeElement.css:
(.object-tree-array-index.object-tree-map-entry > .titles > .title > .index-name):
* UserInterface/Views/ObjectTreeArrayIndexTreeElement.css:
(.object-tree-array-index .index-name):
Right align array's and set's indices.

(.object-tree-map-entry):
Overwrite left property from .object-tree-array-index.

(.object-tree-property + ol .object-tree-map-entry):
Overwrite left property from .object-tree-property + ol .object-tree-array-index.

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (182795 => 182796)


--- trunk/Source/WebInspectorUI/ChangeLog	2015-04-14 13:59:36 UTC (rev 182795)
+++ trunk/Source/WebInspectorUI/ChangeLog	2015-04-14 15:15:35 UTC (rev 182796)
@@ -1,3 +1,22 @@
+2015-04-14  Nikita Vasilyev  <nvasil...@apple.com>
+
+        Web Inspector: Align array's indices and set's bullet points under the property icon
+        https://bugs.webkit.org/show_bug.cgi?id=143698
+
+        Reviewed by Timothy Hatcher.
+
+        * UserInterface/Views/ObjectTreeMapEntryTreeElement.css:
+        (.object-tree-array-index.object-tree-map-entry > .titles > .title > .index-name):
+        * UserInterface/Views/ObjectTreeArrayIndexTreeElement.css:
+        (.object-tree-array-index .index-name):
+        Right align array's and set's indices.
+
+        (.object-tree-map-entry):
+        Overwrite left property from .object-tree-array-index.
+
+        (.object-tree-property + ol .object-tree-map-entry):
+        Overwrite left property from .object-tree-property + ol .object-tree-array-index.
+
 2015-04-13  Joseph Pecoraro  <pecor...@apple.com>
 
         Web Inspector: Expanding window.navigator.mimeTypes in ObjectTree shows no native properties

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/ObjectTreeArrayIndexTreeElement.css (182795 => 182796)


--- trunk/Source/WebInspectorUI/UserInterface/Views/ObjectTreeArrayIndexTreeElement.css	2015-04-14 13:59:36 UTC (rev 182795)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/ObjectTreeArrayIndexTreeElement.css	2015-04-14 15:15:35 UTC (rev 182796)
@@ -45,9 +45,9 @@
     top: -1px;
 
     display: inline-block;
-    width: 22px;
-    margin-left: 13px;
-    text-align: center;
+    width: 30px;
+    margin-right: 7px;
+    text-align: right;
 }
 
 /* An array inside an array we should reduce the padding-start. */

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/ObjectTreeMapEntryTreeElement.css (182795 => 182796)


--- trunk/Source/WebInspectorUI/UserInterface/Views/ObjectTreeMapEntryTreeElement.css	2015-04-14 13:59:36 UTC (rev 182795)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/ObjectTreeMapEntryTreeElement.css	2015-04-14 15:15:35 UTC (rev 182796)
@@ -24,7 +24,7 @@
  */
 
 .object-tree-array-index.object-tree-map-entry > .titles > .title > .index-name {
-    width: 37px;
+    width: 40px;
     text-align: right;
     margin-right: 5px;
 }
@@ -36,4 +36,9 @@
 .object-tree-map-entry {
     padding-top: 2px;
     padding-bottom: 2px;
+    left: -2px;
 }
+
+.object-tree-property + ol .object-tree-map-entry {
+    left: -8px;
+}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to