mirror of
https://github.com/outline/outline.git
synced 2026-12-06 19:22:29 +03:00
Show the column filter button on header hover in edit mode
This commit is contained in:
1 file changed
+4
-3
@@ -2778,14 +2778,15 @@ table .${EditorStyleHelper.table} > .${EditorStyleHelper.tableScrollable} > tabl
|
||||
}
|
||||
}
|
||||
|
||||
${
|
||||
props.readOnly
|
||||
? `
|
||||
th:hover > .${EditorStyleHelper.tableFilterButton},
|
||||
.${EditorStyleHelper.tableFilterButton}:focus-visible {
|
||||
display: block;
|
||||
}
|
||||
|
||||
// Without hover, readers have no column menu to filter from.
|
||||
${
|
||||
props.readOnly
|
||||
? `
|
||||
@media (hover: none) {
|
||||
.${EditorStyleHelper.tableFilterButton} {
|
||||
display: block;
|
||||
|
||||
Reference in new issue
Block a user