summaryrefslogtreecommitdiffstats
path: root/browser/components/firefoxview/fxview-tab-list.css
blob: f0881d8ce818584c8529ac6bca93c4de8dcb6002 (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
/* 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/. */

:host {
  display: grid;
  row-gap: var(--space-xsmall);
}

.fxview-tab-list {
  display: grid;
  grid-template-columns: min-content 3fr 2fr 1fr 1fr min-content;
  gap: var(--space-xsmall);

  :host([compactRows]) & {
    grid-template-columns: min-content 1fr min-content min-content;
  }
}

virtual-list {
  display: grid;
  grid-column: span 7;
  grid-template-columns: subgrid;

  .top-padding,
  .bottom-padding {
    grid-column: span 7;
  }
}