Fix: Fixed share-log UI issues and log-template bugs (#9166)

### What problem does this PR solve?

Fix: Fixed share-log UI issues and log-template bugs #3221

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
chanx
2025-08-01 18:32:38 +08:00
committed by GitHub
parent 8fd12b670e
commit 01bf799a59
13 changed files with 331 additions and 89 deletions

View File

@ -239,3 +239,38 @@
max-width: none;
}
}
@layer utilities {
.scrollbar-auto {
/* hide scrollbar */
scrollbar-width: thin;
scrollbar-color: transparent transparent;
}
.scrollbar-auto::-webkit-scrollbar {
width: 6px;
height: 6px;
}
.scrollbar-auto::-webkit-scrollbar-track {
background: transparent;
}
.scrollbar-auto::-webkit-scrollbar-thumb {
background-color: transparent;
border-radius: 3px;
transition: background-color 0.2s ease;
}
.scrollbar-auto:hover::-webkit-scrollbar-thumb,
.scrollbar-auto:focus::-webkit-scrollbar-thumb,
.scrollbar-auto:active::-webkit-scrollbar-thumb {
background-color: rgba(0, 0, 0, 0.3);
}
.dark .scrollbar-auto:hover::-webkit-scrollbar-thumb,
.dark .scrollbar-auto:focus::-webkit-scrollbar-thumb,
.dark .scrollbar-auto:active::-webkit-scrollbar-thumb {
background-color: rgba(255, 255, 255, 0.3);
}
}