Skip to content

Commit 8bfdae4

Browse files
committed
Auto width option added
1 parent a885475 commit 8bfdae4

5 files changed

Lines changed: 9 additions & 9 deletions

File tree

assets/css/style.css

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/css/style.css.map

Lines changed: 1 addition & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/scss/mixins/_grid-framework.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@
3737
flex-grow: 1;
3838
max-width: 100%;
3939
}
40+
.jdscf-col#{$infix}-auto {
41+
flex: 0 0 auto;
42+
width: auto;
43+
max-width: 100%; // Reset earlier grid tiers
44+
}
4045
@for $i from 1 through $columns {
4146
.jdscf-col#{$infix}-#{$i} {
4247
@include make-col($i, $columns);

forms/fielditem.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@
9090
label="MOD_JDSCF_WIDTH_LBL"
9191
description="MOD_JDSCF_WIDTH_DESC"
9292
>
93+
<option value="auto">JGLOBAL_AUTO</option>
9394
<option value="12">12</option>
9495
<option value="10">10</option>
9596
<option value="9">9</option>

mod_jdsimplecontactform.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@
9696
label="MOD_JDSCF_SUBMIT_WIDTH_LBL"
9797
description="MOD_JDSCF_SUBMIT_WIDTH_DESC"
9898
>
99+
<option value="auto">JGLOBAL_AUTO</option>
99100
<option value="12">12</option>
100101
<option value="10">10</option>
101102
<option value="9">9</option>

0 commit comments

Comments
 (0)