All files / src/components/u-form-table.vue remove-button.vue

72.72% Statements 8/11
33.33% Branches 2/6
50% Functions 1/2
80% Lines 8/10

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38      7x   7x     7x                                   7x 7x 7x 7x           7x    
<script>
import UButton from '../u-button.vue';
 
export default {
    name: 'u-form-table-remove-button',
    extends: UButton,
};
</script>
 
<style module>
.root {
    display: block;
    position: relative;
    cursor: var(--cursor-pointer);
    margin-bottom: 0;
    font-size: 40px;
    color: var(--form-table-remove-button-color);
    height: 40px;
    line-height: 40px;
    opacity: 0.6;
}
 
.root:hover {
    opacity: 1;
}
 
.root[disabled] {
    color: #ddd;
    cursor: var(--cursor-not-allowed);
    color: var(--brand-disabled);
}
 
.root::before {
    /* font-size: var(--form-table-button-font-size); */
    icon-font: url('./assets/icon.svg');
}
</style>