fix: refs #6769 Fixes item diary #573
|
@ -209,6 +209,31 @@ input::-webkit-inner-spin-button {
|
||||||
max-width: 100%;
|
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 {
|
.q-table {
|
||||||
guillermo marked this conversation as resolved
Outdated
|
|||||||
thead,
|
thead,
|
||||||
tbody {
|
tbody {
|
||||||
|
|
|
@ -115,7 +115,7 @@ const getBadgeAttrs = (_date) => {
|
||||||
|
|
||||||
const scrollToToday = async () => {
|
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();
|
await nextTick();
|
||||||
const today = new Date();
|
const today = Date.vnNew();
|
||||||
today.setHours(0, 0, 0, 0);
|
today.setHours(0, 0, 0, 0);
|
||||||
const todayCell = document.querySelector(`td[data-date="${today.toISOString()}"]`);
|
const todayCell = document.querySelector(`td[data-date="${today.toISOString()}"]`);
|
||||||
if (todayCell) {
|
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):