fix: refs #6769 Fixes item diary #573
|
@ -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 {
|
||||
guillermo marked this conversation as resolved
Outdated
|
||||
thead,
|
||||
tbody {
|
||||
|
|
|
@ -115,7 +115,7 @@ const getBadgeAttrs = (_date) => {
|
|||
|
||||
const scrollToToday = async () => {
|
||||
guillermo marked this conversation as resolved
alexm
commented
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) {
|
||||
|
|
Loading…
Reference in New Issue
Esto se usa para VnTable, si no se quiere de manera global, no se debe borrar.
Solución(añadir una clase que use el contenedor de q-table):