fix spacing on reverse tables

This commit is contained in:
Tomáš Mládek 2021-07-03 21:22:28 +02:00
parent 6a1483ca27
commit ed8a97adad

View file

@ -1,6 +1,6 @@
<template> <template>
<div class="table"> <div class="table">
<table> <table :class="{ reverse }">
<colgroup> <colgroup>
<col v-if="editable" class="attr-action-col" /> <col v-if="editable" class="attr-action-col" />
<col class="attr-col" /> <col class="attr-col" />
@ -218,6 +218,10 @@ table {
width: 25%; width: 25%;
} }
&.reverse .attr-col {
width: 70%;
}
sl-icon-button { sl-icon-button {
&::part(base) { &::part(base) {
padding: 2px; padding: 2px;