Source code

Revision control

Copy as Markdown

Other Tools

/* 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/. */
.view-opentabs-card-container {
display: grid;
gap: 1em;
}
[card-count="one"] {
grid-template-columns: 1fr;
}
[card-count="two"] {
grid-template-columns: repeat(2, 1fr);
}
[card-count="three-or-more"] {
grid-template-columns: repeat(3, 1fr);
@media (max-width: 85rem) {
/* Switch to 2-column layout on narrow viewports */
grid-template-columns: repeat(2, 1fr);
}
}
.open-tabs-options, .open-tabs-sort-wrapper {
display: flex;
gap: 24px;
}
.open-tabs-options {
flex-wrap: wrap;
}
.open-tabs-sort-option {
display: flex;
align-items: center;
gap: 8px;
& label {
white-space: nowrap;
}
}