fix: refs #6769 Fixes item diary #573

Merged
guillermo merged 3 commits from 6769-itemDiaryFix into master 2024-07-26 11:18:48 +00:00
2 changed files with 26 additions and 1 deletions
Showing only changes of commit 621de11890 - Show all commits

View File

@ -209,6 +209,31 @@ input::-webkit-inner-spin-button {
max-width: 100%;
}
.q-table__container {
/* ===== Scrollbar CSS ===== /
/ Firefox */
* {
scrollbar-width: auto;
scrollbar-color: var(--vn-label-color) transparent;
}
/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
width: 10px;
height: 10px;
}
*::-webkit-scrollbar-thumb {
background-color: var(--vn-label-color);
border-radius: 10px;
}
*::-webkit-scrollbar-track {
background: transparent;
}
}
.q-table {
thead,
tbody {

View File

@ -115,7 +115,7 @@ const getBadgeAttrs = (_date) => {
const scrollToToday = async () => {
guillermo marked this conversation as resolved
Review

Ho he provat conectat a dev en el item 1 que si que te una linea de hui no fa el scroll

Ho he provat conectat a dev en el item 1 que si que te una linea de hui no fa el scroll
await nextTick();
const today = new Date();
const today = Date.vnNew();
today.setHours(0, 0, 0, 0);
const todayCell = document.querySelector(`td[data-date="${today.toISOString()}"]`);
if (todayCell) {