fix ui
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<q-btn flat padding="xs" round size="1em" icon="more_vert">
|
<q-btn flat padding="xs" round size="1em" icon="more_vert" class="action-menu">
|
||||||
<q-menu>
|
<q-menu>
|
||||||
<q-list dense :style="'min-width:' + minWidth ">
|
<q-list dense :style="'min-width:' + minWidth ">
|
||||||
<template v-for="(item, index) in actions" :key="index" >
|
<template v-for="(item, index) in actions" :key="index" >
|
||||||
@@ -53,4 +53,13 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
.q-table tr > td:last-child .action-menu {
|
||||||
|
opacity: 0.25;
|
||||||
|
}
|
||||||
|
|
||||||
|
.q-table tr:hover > td:last-child .action-menu {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user