top-matter: hide actions for all when selection

Signed-off-by: Varun Patil <radialapps@gmail.com>
pull/653/head
Varun Patil 2023-04-28 22:40:57 -07:00
parent 1ead974fc9
commit a9f2f0f5ad
2 changed files with 8 additions and 6 deletions

View File

@ -112,9 +112,3 @@ export default defineComponent({
},
});
</script>
<style lang="scss" scoped>
body.has-top-bar .face-top-matter .right-actions {
visibility: hidden;
}
</style>

View File

@ -110,6 +110,14 @@ export default defineComponent({
margin-right: 10px;
}
/**
* Hide the actions when the selection manager is open.
* Having two action bars is confusing.
*/
body.has-top-bar & {
visibility: hidden;
}
span {
cursor: pointer;
}