From 785ff4152e3a80a183405095fc8fe71c7c57bea3 Mon Sep 17 00:00:00 2001 From: artoscinote <85488244+artoscinote@users.noreply.github.com> Date: Tue, 5 Apr 2022 10:30:06 +0200 Subject: [PATCH] Stock column management UX/UI fixes [SCI-6674] (#3979) --- app/assets/stylesheets/repository_columns/stock_type.scss | 5 ++++- config/locales/en.yml | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/repository_columns/stock_type.scss b/app/assets/stylesheets/repository_columns/stock_type.scss index e8bfb7ccc..6528159b4 100644 --- a/app/assets/stylesheets/repository_columns/stock_type.scss +++ b/app/assets/stylesheets/repository_columns/stock_type.scss @@ -8,14 +8,17 @@ .changing-existing-stock-units-warning { @include font-small; background-color: $brand-warning-light; + border-radius: $border-radius-default; padding: .5em; + margin-top: .5em; + width: 100%; } .sci-input-container.error { margin-bottom: 3em; .changing-existing-stock-units-warning { - bottom: -3.5em; + bottom: -2.5em; position: absolute; } diff --git a/config/locales/en.yml b/config/locales/en.yml index 45d64da5c..e899a807d 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -1736,7 +1736,7 @@ en: add_column: "Add column" manange_modal_column: name_placeholder: "Enter column name..." - empty_name_error: "Colmun must have a name." + empty_name_error: "Column must have a name." value_too_high_error: "Too high (max %{max_value})" name: "Name" colum_type: "Column type"