]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: configs textarea disallow horizontal resize 24614/head
authorTatjana Dehler <tdehler@suse.com>
Tue, 16 Oct 2018 10:28:16 +0000 (12:28 +0200)
committerTatjana Dehler <tdehler@suse.com>
Tue, 16 Oct 2018 10:28:16 +0000 (12:28 +0200)
The textarea allows horizontal and vertical resize by default. Only the
vertical resize is appropriate for this form.

Fixes: http://tracker.ceph.com/issues/36452
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/configuration/configuration-form/configuration-form.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/configuration/configuration-form/configuration-form.component.scss

index e2025fc33c17ec4cead261880fb82d70f9fd260a..dfedb8d0f83a6c425e7a09811faff6b7af249c56 100644 (file)
@@ -33,7 +33,7 @@
                  class="control-label col-sm-3">Description
           </label>
           <div class="col-sm-9">
-            <textarea class="form-control"
+            <textarea class="form-control resize-vertical"
                       id="desc"
                       formControlName="desc"
                       readonly>
@@ -48,7 +48,7 @@
                  class="control-label col-sm-3">Long description
           </label>
           <div class="col-sm-9">
-            <textarea class="form-control"
+            <textarea class="form-control resize-vertical"
                       id="long_desc"
                       formControlName="long_desc"
                       readonly>