From 952b28e95a9da5ab3384d204063537d172ca2f16 Mon Sep 17 00:00:00 2001 From: Florens Verschelde Date: Fri, 22 Mar 2019 13:46:17 +0000 Subject: [PATCH] Bug 1537721 - Style Storage table inputs to take the same space as table cells; r=miker Differential Revision: https://phabricator.services.mozilla.com/D24482 --HG-- extra : moz-landing-system : lando --- devtools/client/themes/storage.css | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/devtools/client/themes/storage.css b/devtools/client/themes/storage.css index ec8b6329c58a..a7dfba48e0eb 100644 --- a/devtools/client/themes/storage.css +++ b/devtools/client/themes/storage.css @@ -50,6 +50,19 @@ min-width: 40px; } +/* Text input in storage table */ +#storage-table textbox { + -moz-appearance: none; + /* make sure the outline is not cut off */ + position: relative; + max-width: calc(100% - 1px); + padding: 3px 3px; + font: inherit; + line-height: 14px; + color: var(--theme-content-color1); + background-color: var(--theme-body-background); +} + /* Variables View Sidebar */ #storage-sidebar { @@ -86,8 +99,4 @@ #storage-table #path { display: none; } - - #storage-table .table-widget-cell { - min-width: 100px; - } }