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|