fix spacing on reverse tables
This commit is contained in:
parent
6a1483ca27
commit
ed8a97adad
1 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue