summaryrefslogtreecommitdiffstats
path: root/security/manager/pki/resources/content/certManager.css
blob: 9259472771e043ef4b7d452e26f1554841a04c3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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 <tree> and non-XUL layout
   * interactions */
  padding: 0;
}

/* This matches the <tree> height from dialog.css */
richlistbox {
  min-height: 15em;
  contain: size;
}

richlistbox,
richlistitem {
  min-height: 30px;
}