Skip to content

Commit

Permalink
Add hover effect to QuickActions
Browse files Browse the repository at this point in the history
  • Loading branch information
lookacat committed Feb 17, 2022
1 parent 0e054dc commit 2e2e6a6
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion packages/web-app-files/src/components/FilesList/QuickActions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
v-oc-tooltip="action.label($gettext)"
:aria-label="action.label($gettext)"
appearance="raw"
class="oc-mr-xs"
class="oc-mr-xs quick-action-button"
:class="`files-quick-action-${action.id}`"
@click="action.handler({ item, client: $client, store: $store, $gettext })"
>
Expand Down Expand Up @@ -39,3 +39,12 @@ export default {
}
}
</script>

<style lang="scss">
.quick-action-button {
padding: 6px !important;
&:hover {
background-color: var(--oc-color-background-muted) !important;
}
}
</style>

0 comments on commit 2e2e6a6

Please sign in to comment.