mirror of
https://github.com/docmost/docmost.git
synced 2026-05-15 13:14:11 +08:00
31ed0df3f7
* feat(tree): replace react-arborist with custom tree implementation * feat(tree): keyboard arrow navigation between rows * feat(emoji-picker): focus search input on open * refactor(emoji): switch to @slidoapp/emoji-mart fork for accessibility * feat(tree): Home/End and typeahead keyboard navigation * feat(tree): roving tabindex and * to expand sibling subtrees * feat(tree): Space activation and ARIA refinements * fix(tree): move treeitem role to focusable row + aria-current
27 lines
644 B
CSS
27 lines
644 B
CSS
.preview {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 4px 10px;
|
|
border-radius: 6px;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
background-color: light-dark(
|
|
var(--mantine-color-white),
|
|
var(--mantine-color-dark-6)
|
|
);
|
|
color: light-dark(
|
|
var(--mantine-color-gray-9),
|
|
var(--mantine-color-dark-0)
|
|
);
|
|
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
|
|
border: 1px solid light-dark(
|
|
var(--mantine-color-gray-3),
|
|
var(--mantine-color-dark-4)
|
|
);
|
|
max-width: 260px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|