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" :setting="rowSetting"
:bus="bus" :bus="bus"
:using="row.using" :using="row.using"
:class="[lastLine === row.index ? 'last_row' : '']"
@operation:beginEdit="onCellEditBegin" @operation:beginEdit="onCellEditBegin"
@operation:endEdit="onCellEditEnd" @operation:endEdit="onCellEditEnd"
@change:value="onChangeCellValue" @change:value="onChangeCellValue"
@ -1273,6 +1274,8 @@ onMounted(() => {
.grid { .grid {
font-size: 90%; font-size: 90%;
overflow-x: scroll; overflow-x: scroll;
// firefox
padding-bottom: 8px;
} }
</style> </style>
@ -1315,8 +1318,9 @@ $borderRadius: var(--radius);
border-right: $borderSetting; border-right: $borderSetting;
} }
} }
}
&:last-child { .last_row {
.mk_grid_td, .mk_grid_th { .mk_grid_td, .mk_grid_th {
// //
border-bottom: $borderSetting; border-bottom: $borderSetting;
@ -1334,5 +1338,4 @@ $borderRadius: var(--radius);
} }
} }
} }
}
</style> </style>