Skip to content

Commit c8369ff

Browse files
committed
Small width issue when dev_mode off.
1 parent a18e0c0 commit c8369ff

File tree

4 files changed

+23
-27
lines changed

4 files changed

+23
-27
lines changed

ReduxCore/assets/css/redux.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
1-
.redux-container-spacing .select_wrapper {
1+
.redux-main .redux-container-spacing select,
2+
.redux-main .redux-container-spacing .select_wrapper {
3+
width: 80px !important;
24
float: left;
3-
width: inherit;
45
}
5-
.redux-container-spacing .select_wrapper select {
6-
width: 80px;
7-
float: left;
8-
}
9-
.redux-container-spacing .field-spacing-input {
6+
.redux-main .redux-container-spacing .field-spacing-input {
107
margin-right: 10px;
118
margin-bottom: 7px;
129
}
13-
.redux-container-spacing .dovy {
10+
.redux-main .redux-container-spacing .dovy {
1411
margin: 10px;
1512
}

ReduxCore/inc/fields/spacing/field_spacing.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jQuery(document).ready(function() {
55
});
66

77
jQuery(".redux-spacing-units").select2({
8-
width: 'resolve',
8+
width: '80px',
99
triggerChange: true,
1010
allowClear: true
1111
});
Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
1-
.redux-container-spacing {
2-
.select_wrapper {
3-
float: left;
4-
select {
5-
width: 80px;
6-
float: left;
7-
}
8-
width: inherit;
9-
}
10-
.field-spacing-input {
11-
margin-right: 10px;
12-
margin-bottom: 7px;
13-
}
1+
.redux-main {
2+
.redux-container-spacing {
143

15-
.dovy {
16-
margin: 10px;
17-
}
18-
}
4+
select, .select_wrapper {
5+
width: 80px !important;
6+
float: left;
7+
}
8+
.field-spacing-input {
9+
margin-right: 10px;
10+
margin-bottom: 7px;
11+
}
12+
13+
.dovy {
14+
margin: 10px;
15+
}
16+
}
17+
}

0 commit comments

Comments
 (0)