From 6bf0a5cb5034a7e684dcc3500e841785237ce2dd Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 19:32:43 +0200 Subject: Adding upstream version 1:115.7.0. Signed-off-by: Daniel Baumann --- .../manager/pki/resources/content/certManager.css | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 security/manager/pki/resources/content/certManager.css (limited to 'security/manager/pki/resources/content/certManager.css') diff --git a/security/manager/pki/resources/content/certManager.css b/security/manager/pki/resources/content/certManager.css new file mode 100644 index 0000000000..9259472771 --- /dev/null +++ b/security/manager/pki/resources/content/certManager.css @@ -0,0 +1,34 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +/* Good enough support for equalsize=always for the cert manager use cases. + * You probably shouldn't use this as-is elsewhere, this selector is somewhat + * slow, it relies on stuff having display: flex, and you probably can use + * something simpler if you need this */ +[equalsize="always"] > * { + flex: 1; + contain: inline-size; +} + +treecol { + flex: 1 auto; + width: 0; /* Don't let intrinsic sizes affect our minimum size. */ +} + +#certmanager { + /* This prevents horizontal scrollbars due to and non-XUL layout + * interactions */ + padding: 0; +} + +/* This matches the height from dialog.css */ +richlistbox { + min-height: 15em; + contain: size; +} + +richlistbox, +richlistitem { + min-height: 30px; +} -- cgit v1.2.3