Files
tubestation/browser/components/sidebar/sidebar-history.css
Jonathan Sudiaman e5d26fcea8 Bug 1924349 - Add other sorting options in History sidebar r=sidebar-reviewers,fluent-reviewers,desktop-theme-reviewers,fxview-reviewers,reusable-components-reviewers,bolsson,hjones,nsharpley
- Process history sorted by date and site, which is a nested mapping of (Date) => (Site) => Visit[], as opposed to sorting by date which is (Date) => Visit[], or site which is (Site) => Visit[].
- Also process history sorted by last visited, which is a "flat" array of Visit[], sorted by recency.
- A couple of minor <moz-card> tweaks to bring the "inner" cards closer to spec, but I think more work is still needed here.

Differential Revision: https://phabricator.services.mozilla.com/D244825
2025-04-10 15:20:30 +00:00

23 lines
579 B
CSS

/* 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 https://mozilla.org/MPL/2.0/. */
.options-container {
display: flex;
width: 100%;
align-items: center;
}
fxview-search-textbox {
flex: 1;
}
.menu-button::part(button) {
margin-inline-start: var(--space-small);
}
.nested-card {
--card-accordion-closed-icon: url("chrome://global/skin/icons/arrow-right.svg");
--card-accordion-open-icon: url("chrome://global/skin/icons/arrow-down.svg");
}