From 70f051da925fd6abab9682e61abb9ad297797041 Mon Sep 17 00:00:00 2001 From: ARLakhin Date: Sat, 21 Mar 2026 12:35:57 +0300 Subject: [PATCH] =?UTF-8?q?=D0=92=D0=B8=D0=B7=D1=83=D0=B0=D0=BB=D1=8C?= =?UTF-8?q?=D0=BD=D1=8B=D0=B5=20=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D1=8F=20=D0=BE=D1=81=D0=BD=D0=BE=D0=B2=D0=BD=D0=BE=D0=B9?= =?UTF-8?q?=20=D1=81=D1=82=D1=80=D0=B0=D0=BD=D0=B8=D1=87=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../stylesheets/application_settings.scss | 2 ++ app/assets/stylesheets/main.scss | 26 ++++++++----------- app/views/auditors/index.html.slim | 2 +- 3 files changed, 14 insertions(+), 16 deletions(-) diff --git a/app/assets/stylesheets/application_settings.scss b/app/assets/stylesheets/application_settings.scss index a8e43dc..3cc73d4 100644 --- a/app/assets/stylesheets/application_settings.scss +++ b/app/assets/stylesheets/application_settings.scss @@ -28,4 +28,6 @@ body { font-family: 'Inter', sans-serif; background-color: var(--bg-color); + width: 90vw; + margin: 0 auto; } diff --git a/app/assets/stylesheets/main.scss b/app/assets/stylesheets/main.scss index 89c714b..44b28e8 100644 --- a/app/assets/stylesheets/main.scss +++ b/app/assets/stylesheets/main.scss @@ -1,5 +1,5 @@ .main-header { - width: 100vw; + width: 100%; text-align: center; font-size: 2.5rem; font-weight: var(--bold); @@ -15,7 +15,7 @@ .add-new { text-align: center; - width: 100vw; + width: 100%; margin-block: 15px; } @@ -34,7 +34,7 @@ a.link:hover { } .header{ - width: 100vw; + width: 100%; text-align: center; } @@ -43,18 +43,17 @@ a.link:hover { font-weight: var(--bold); } +.main-container { + height: 100vh; +} + .informations-data { display: flex; flex-direction: column; - justify-content: space-between; - height: 100vh; + width: 80%; min-width: 300px; max-width: 1200px; - margin: 0 auto; -} - -.vh-50-height { - height: 50vh; + margin: 0 auto 10px; } .information-data { @@ -62,6 +61,7 @@ a.link:hover { display: flex; flex-direction: column; padding: 5px; + margin: 20px; } .information-elem { @@ -70,12 +70,8 @@ a.link:hover { padding: 2.5px; } -.green { - color: green; -} - .add-new-organisation { border: 1px solid #ccc; padding: 10px; margin: 10px 0; -} \ No newline at end of file +} diff --git a/app/views/auditors/index.html.slim b/app/views/auditors/index.html.slim index 9bd30af..64f4870 100644 --- a/app/views/auditors/index.html.slim +++ b/app/views/auditors/index.html.slim @@ -5,7 +5,7 @@ - unless @info_about_auditors.any? = "Аудиторы не найдены" - else - .informations-data.vh-50-height + .informations-data - @info_about_auditors.each do |auditor, params| .information-data - params.keys.each do |key|