diff --git a/templates/index.html b/templates/index.html index b163517..d55b023 100644 --- a/templates/index.html +++ b/templates/index.html @@ -19,15 +19,34 @@ color: #e0e0e0; } #tree-container { - width: 15%; + width: 15%; /* Начальная ширина */ padding: 10px; - border-right: 1px solid #ccc; + border-right: none; /* Убираем стандартную границу */ + min-width: 150px; /* Минимальная ширина */ + max-width: 50%; /* Максимальная ширина */ + overflow: auto; /* Для длинных списков папок */ } #tree-container.dark-theme { border-right-color: #444; } + #splitter { + width: 5px; + background: #ccc; + cursor: col-resize; + user-select: none; + } + #splitter.dark-theme { + background: #444; + } + #splitter:hover { + background: #aaa; + } + #splitter.dark-theme:hover { + background: #666; + } #installs-container { - width: 60%; + flex: 1; /* Занимает оставшееся пространство */ padding: 10px; position: relative; + min-width: 300px; /* Минимальная ширина для центральной части */ } .install-item { display: table; @@ -330,6 +349,7 @@
+