fix: auto-resize textareas + dark scrollbar in admin editors

Textareas auto-grow with content and on window resize, no scrollbar
or resize handle needed. Added dark admin scrollbar styles for cases
where overflow is needed.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-11 18:48:12 +03:00
parent ed5a164d59
commit e6c7bcf7f4
2 changed files with 48 additions and 1 deletions

View File

@@ -59,3 +59,27 @@ body {
.scrollbar-hide::-webkit-scrollbar {
display: none;
}
/* ===== Admin dark scrollbar ===== */
.admin-scrollbar {
scrollbar-width: thin;
scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}
.admin-scrollbar::-webkit-scrollbar {
width: 6px;
}
.admin-scrollbar::-webkit-scrollbar-track {
background: transparent;
}
.admin-scrollbar::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.15);
border-radius: 3px;
}
.admin-scrollbar::-webkit-scrollbar-thumb:hover {
background: rgba(255, 255, 255, 0.3);
}