aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjpl2017-02-10 18:52:56 +0100
committerjpl2017-02-10 18:52:56 +0100
commit23d1402691f761cceda079d68d96a643d9176dd0 (patch)
treec6430081cd9acfaf81be13bb01ac65039f79c619
parenta73a305f47e0644c8e81eb1104bba285fd5e7ca9 (diff)
downloadchouette-core-23d1402691f761cceda079d68d96a643d9176dd0.tar.bz2
Refs #2589: updating referential form pages, with grid adjustments
-rw-r--r--app/assets/stylesheets/components/_forms.sass4
-rw-r--r--app/views/referentials/edit.html.slim2
-rw-r--r--app/views/referentials/new.html.slim2
3 files changed, 4 insertions, 4 deletions
diff --git a/app/assets/stylesheets/components/_forms.sass b/app/assets/stylesheets/components/_forms.sass
index 659aa04a8..2b0c2ae58 100644
--- a/app/assets/stylesheets/components/_forms.sass
+++ b/app/assets/stylesheets/components/_forms.sass
@@ -332,14 +332,14 @@ $cbx-size: 20px
border-bottom-left-radius: 4px
border-left: 1px solid #ccc
border-right: 1px dashed #ccc
- width: 25%
+ width: 27%
&:last-child
border-top-right-radius: 4px
border-bottom-right-radius: 4px
border-right: 1px solid #ccc
border-left: 1px dashed #ccc
- width: 35%
+ width: 33%
// Nested fields
.nested-fields
diff --git a/app/views/referentials/edit.html.slim b/app/views/referentials/edit.html.slim
index f01fff47e..619e9a9af 100644
--- a/app/views/referentials/edit.html.slim
+++ b/app/views/referentials/edit.html.slim
@@ -8,5 +8,5 @@
.page_content
.container-fluid
.row
- .col-lg-8.col-lg-offset-2
+ .col-lg-6.col-lg-offset-3.col-md-8.col-md-offset-2.col-sm-10.col-sm-offset-1
== render 'form'
diff --git a/app/views/referentials/new.html.slim b/app/views/referentials/new.html.slim
index ab13ffcf1..3888cfdd3 100644
--- a/app/views/referentials/new.html.slim
+++ b/app/views/referentials/new.html.slim
@@ -6,5 +6,5 @@
.page_content
.container-fluid
.row
- .col-lg-8.col-lg-offset-2
+ .col-lg-6.col-lg-offset-3.col-md-8.col-md-offset-2.col-sm-10.col-sm-offset-1
== render 'form'