You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by an...@apache.org on 2019/07/29 14:09:23 UTC

[incubator-dlab] 02/04: [DLAB-845]: error message fixes on notebook creation dialog

This is an automated email from the ASF dual-hosted git repository.

ankovalyshyn pushed a commit to branch DLAB-845
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git

commit 0d33e6a7f0eac1fc50e15b29cade8d37e3581b56
Author: Andriana Kovalyshyn <An...@epam.com>
AuthorDate: Mon Jul 29 16:21:10 2019 +0300

    [DLAB-845]: error message fixes on notebook creation dialog
---
 .../create-environment/create-environment.component.html      |  2 +-
 .../create-environment/create-environment.component.scss      | 11 +++++++++--
 2 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/create-environment/create-environment.component.html b/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/create-environment/create-environment.component.html
index 771d325..1f7bf78 100644
--- a/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/create-environment/create-environment.component.html
+++ b/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/create-environment/create-environment.component.html
@@ -98,7 +98,7 @@
           </div>
         </div>
 
-        <div class="control-group">
+        <div class="control-group name-control">
           <label class="label">Name</label>
           <div class="control">
             <input [class.danger_field]="notebookExist || !createExploratoryForm?.controls['name'].valid
diff --git a/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/create-environment/create-environment.component.scss b/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/create-environment/create-environment.component.scss
index c63436c..f99515f 100644
--- a/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/create-environment/create-environment.component.scss
+++ b/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/create-environment/create-environment.component.scss
@@ -23,6 +23,7 @@
     opacity: 0;
     visibility: hidden;
     text-align: left;
+
     &.show {
       height: 200px;
       visibility: visible;
@@ -30,6 +31,7 @@
       position: relative;
       margin-top: 10px;
     }
+
     textarea {
       height: 100%;
       background: #f8f8f8 !important;
@@ -38,6 +40,7 @@
       line-height: 1.5;
       font-family: Consolas, monospace;
     }
+
     span {
       &.danger_color {
         position: absolute;
@@ -52,11 +55,15 @@
   .error {
     position: absolute;
     right: 0;
-    bottom: 3px;
+    top: 35px;
+  }
+
+  &.name-control {
+    padding-bottom: 35px;
   }
 }
 
 .content-box {
   max-height: 560px;
   overflow-y: auto;
-}
\ No newline at end of file
+}


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org