Title: [227666] trunk/Source/WebInspectorUI
Revision
227666
Author
[email protected]
Date
2018-01-25 21:22:24 -0800 (Thu, 25 Jan 2018)

Log Message

Web Inspector: Network - Cookies view should behave better at narrow widths, all data is hidden
https://bugs.webkit.org/show_bug.cgi?id=182163
<rdar://problem/36893241>

Patch by Joseph Pecoraro <[email protected]> on 2018-01-25
Reviewed by Brian Burg.

* UserInterface/Views/ResourceCookiesContentView.css:
(.resource-cookies .table):
Give these tables a reasonable minimum size so that if the inspector
is narrow, the content view can still be scrolled to see all of
the table data.

* UserInterface/Views/Table.css:
(.table > .header):
Match the data-container and mark overflow as hidden, otherwise
super narrow widths show header content beyond the edge.

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (227665 => 227666)


--- trunk/Source/WebInspectorUI/ChangeLog	2018-01-26 05:08:15 UTC (rev 227665)
+++ trunk/Source/WebInspectorUI/ChangeLog	2018-01-26 05:22:24 UTC (rev 227666)
@@ -1,5 +1,24 @@
 2018-01-25  Joseph Pecoraro  <[email protected]>
 
+        Web Inspector: Network - Cookies view should behave better at narrow widths, all data is hidden
+        https://bugs.webkit.org/show_bug.cgi?id=182163
+        <rdar://problem/36893241>
+
+        Reviewed by Brian Burg.
+
+        * UserInterface/Views/ResourceCookiesContentView.css:
+        (.resource-cookies .table):
+        Give these tables a reasonable minimum size so that if the inspector
+        is narrow, the content view can still be scrolled to see all of
+        the table data.
+
+        * UserInterface/Views/Table.css:
+        (.table > .header):
+        Match the data-container and mark overflow as hidden, otherwise
+        super narrow widths show header content beyond the edge.
+
+2018-01-25  Joseph Pecoraro  <[email protected]>
+
         Web Inspector: "Displayed Columns" should not be displayed in context menu if all columns are required columns
         https://bugs.webkit.org/show_bug.cgi?id=182162
         <rdar://problem/36893758>

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/ResourceCookiesContentView.css (227665 => 227666)


--- trunk/Source/WebInspectorUI/UserInterface/Views/ResourceCookiesContentView.css	2018-01-26 05:08:15 UTC (rev 227665)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/ResourceCookiesContentView.css	2018-01-26 05:22:24 UTC (rev 227666)
@@ -29,6 +29,7 @@
 
 .resource-cookies .table {
     border: 1px solid var(--border-color);
+    min-width: 600px;
 }
 
 .resource-cookies .table > .header {

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/Table.css (227665 => 227666)


--- trunk/Source/WebInspectorUI/UserInterface/Views/Table.css	2018-01-26 05:08:15 UTC (rev 227665)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/Table.css	2018-01-26 05:22:24 UTC (rev 227666)
@@ -41,6 +41,7 @@
     line-height: calc(var(--navigation-bar-height) - 1px);
     border-bottom: 1px solid var(--border-color);
     background: white;
+    overflow-x: hidden;
     vertical-align: middle;
     white-space: nowrap;
 }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to