Bug 1500488 - Cookie viewer columns are not resizable when the toolbox is narrow r=pbro
authorMichael Ratcliffe <mratcliffe@mozilla.com>
Wed, 13 Feb 2019 13:12:52 +0000
changeset 458878 c98d6ecd9e7a
parent 458877 fc3ca7ab93c5
child 458879 6dd68e1928a6
push id35551
push usershindli@mozilla.com
push dateWed, 13 Feb 2019 21:34:09 +0000
treeherdermozilla-central@08f794a4928e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerspbro
bugs1500488
milestone67.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1500488 - Cookie viewer columns are not resizable when the toolbox is narrow r=pbro Differential Revision: https://phabricator.services.mozilla.com/D19482
devtools/client/themes/storage.css
--- a/devtools/client/themes/storage.css
+++ b/devtools/client/themes/storage.css
@@ -9,19 +9,50 @@
   max-width: 500px;
   overflow: auto;
 }
 
 #storage-tree {
   background: var(--theme-sidebar-background);
 }
 
-/* Columns with date should have a min width so that date is visible */
+/* The minimum column width needs to be determined by the header width */
+.table-widget-cell {
+  min-width: unset;
+}
+
+/* Set minimum column widths */
+#name {
+  min-width: 65px;
+}
+
+#host {
+  min-width: 80px;
+}
+
+#path {
+  min-width: 60px;
+}
+
 #expires, #lastAccessed, #creationTime {
-  min-width: 150px;
+  min-width: 115px;
+}
+
+#value {
+  min-width: 95px;
+}
+
+#hostOnly,
+#isHttpOnly,
+#sameSite {
+  min-width: 50px;
+}
+
+#isSecure {
+  min-width: 40px;
 }
 
 /* Variables View Sidebar */
 
 #storage-sidebar {
   max-width: 500px;
   min-width: 250px;
 }