From 19905cef4e266e683fb88e7dffc6326952c8633a Mon Sep 17 00:00:00 2001 From: Michael Chus Date: Wed, 21 Jan 2026 22:03:15 +0300 Subject: [PATCH] fix duplicate styles --- .vscode/launch.json | 17 +++++++++++++++++ public/index.html | 42 ++++-------------------------------------- 2 files changed, 21 insertions(+), 38 deletions(-) create mode 100644 .vscode/launch.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..426d183 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,17 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "type": "node", + "request": "launch", + "name": "Launch Program", + "skipFiles": [ + "/**" + ], + "program": "${workspaceFolder}/public/app.js" + } + ] +} \ No newline at end of file diff --git a/public/index.html b/public/index.html index 5fc3a75..a47fe20 100644 --- a/public/index.html +++ b/public/index.html @@ -40,26 +40,6 @@ min-height: 0; } - /* ✅ Горизонтальная прокрутка для Tabulator */ - .tabulator { - border: none; - background-color: white; - overflow: auto !important; /* Включаем прокрутку */ - } - - .tabulator .tabulator-header { - background-color: #f5f5f5; - border-bottom: 2px solid #ddd; - } - - .tabulator .tabulator-tableholder { - overflow: auto !important; /* ✅ Горизонтальная прокрутка */ - } - - .tabulator .tabulator-table { - width: auto !important; /* ✅ Позволяем таблице быть шире контейнера */ - } - /* ✅ Стили для меню столбцов */ .columns-menu { position: fixed; @@ -132,21 +112,6 @@ } #csvFileInput { display: none; } - /* Стили для Tabulator */ - .tabulator { - border: none; - background-color: white; - } - - .tabulator .tabulator-header { - background-color: #f5f5f5; - border-bottom: 2px solid #ddd; - } - - .tabulator .tabulator-tableholder { - overflow-x: auto !important; - } - /* Размер шрифта при редактировании ячеек */ .tabulator-cell input, .tabulator-cell select, @@ -255,7 +220,8 @@ color: #b3e5fc; font-style: normal; } - /* ✅ Синхронизация ширины заголовков и столбцов */ + + /* ✅ Стили для Tabulator - консолидированные */ .tabulator { border: none; background-color: white; @@ -268,13 +234,13 @@ } .tabulator .tabulator-tableholder { - overflow: auto !important; + overflow-x: auto !important; } .tabulator .tabulator-table { width: auto !important; } - + /* ✅ Минимальная ширина столбцов (кроме служебных) */ .tabulator-col { min-width: 100px !important;