tweak css

This commit is contained in:
samunohito 2024-07-15 17:31:34 +09:00
parent 151b6c7d93
commit 75f4eef769
1 changed files with 15 additions and 12 deletions

View File

@ -34,6 +34,7 @@ SPDX-License-Identifier: AGPL-3.0-only
:setting="rowSetting"
:bus="bus"
:using="row.using"
:class="[lastLine === row.index ? 'last_row' : '']"
@operation:beginEdit="onCellEditBegin"
@operation:endEdit="onCellEditEnd"
@change:value="onChangeCellValue"
@ -1273,6 +1274,8 @@ onMounted(() => {
.grid {
font-size: 90%;
overflow-x: scroll;
// firefox
padding-bottom: 8px;
}
</style>
@ -1315,21 +1318,21 @@ $borderRadius: var(--radius);
border-right: $borderSetting;
}
}
}
&:last-child {
.mk_grid_td, .mk_grid_th {
//
border-bottom: $borderSetting;
.last_row {
.mk_grid_td, .mk_grid_th {
//
border-bottom: $borderSetting;
&:first-child {
//
border-bottom-left-radius: $borderRadius;
}
&:first-child {
//
border-bottom-left-radius: $borderRadius;
}
&:last-child {
//
border-bottom-right-radius: $borderRadius;
}
&:last-child {
//
border-bottom-right-radius: $borderRadius;
}
}
}