Skip to content

Commit 28d0f53

Browse files
ciar4nwilsonge
authored andcommitted
Rsponsive article edit fields (#13586)
1 parent 4e5e000 commit 28d0f53

File tree

4 files changed

+46
-36
lines changed

4 files changed

+46
-36
lines changed

administrator/templates/isis/css/template-rtl.css

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6955,6 +6955,10 @@ div.modal.jviewport-width100 {
69556955
.chzn-container .chzn-drop {
69566956
border-radius: 0 0 3px 3px;
69576957
}
6958+
.control-group .chzn-container {
6959+
width: 100% !important;
6960+
max-width: 220px;
6961+
}
69586962
.chzn-container-single .chzn-single {
69596963
background-color: #fff;
69606964
background-clip: inherit;
@@ -7107,6 +7111,9 @@ div.modal.jviewport-width100 {
71077111
margin: 1px 0;
71087112
padding: 0 !important;
71097113
}
7114+
#jform_tags_chzn.chzn-container {
7115+
max-width: 440px;
7116+
}
71107117
.CodeMirror {
71117118
height: calc(100vh - 400px);
71127119
min-height: 400px;
@@ -7708,10 +7715,6 @@ html[dir=rtl] .quick-icons .nav-list [class*=" icon-"] {
77087715
#assignment.tab-pane {
77097716
min-height: 500px;
77107717
}
7711-
.chzn-container,
7712-
.chzn-drop {
7713-
max-width: 100% !important;
7714-
}
77157718
@media (max-width: 979px) {
77167719
.navbar .nav {
77177720
font-size: 13px;
@@ -7790,11 +7793,6 @@ html[dir=rtl] .quick-icons .nav-list [class*=" icon-"] {
77907793
display: block;
77917794
margin: 10px 0;
77927795
}
7793-
.chzn-container,
7794-
.chzn-container .chzn-results,
7795-
.chzn-container-single .chzn-drop {
7796-
width: 99% !important;
7797-
}
77987796
.subhead-collapse.collapse {
77997797
height: 0;
78007798
overflow: hidden;
@@ -8115,9 +8113,14 @@ th .tooltip-inner {
81158113
min-width: 50px;
81168114
margin-left: -1px;
81178115
}
8116+
.controls .btn-group.btn-group-yesno {
8117+
width: 100%;
8118+
max-width: 220px;
8119+
}
81188120
.controls .btn-group.btn-group-yesno > .btn {
8119-
min-width: 84px;
8120-
padding: 2px 12px;
8121+
width: 50%;
8122+
min-width: 20px;
8123+
padding: 2px 0;
81218124
}
81228125
.img-preview > img {
81238126
max-height: 100%;

administrator/templates/isis/css/template.css

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6955,6 +6955,10 @@ div.modal.jviewport-width100 {
69556955
.chzn-container .chzn-drop {
69566956
border-radius: 0 0 3px 3px;
69576957
}
6958+
.control-group .chzn-container {
6959+
width: 100% !important;
6960+
max-width: 220px;
6961+
}
69586962
.chzn-container-single .chzn-single {
69596963
background-color: #fff;
69606964
background-clip: inherit;
@@ -7107,6 +7111,9 @@ div.modal.jviewport-width100 {
71077111
margin: 1px 0;
71087112
padding: 0 !important;
71097113
}
7114+
#jform_tags_chzn.chzn-container {
7115+
max-width: 440px;
7116+
}
71107117
.CodeMirror {
71117118
height: calc(100vh - 400px);
71127119
min-height: 400px;
@@ -7708,10 +7715,6 @@ html[dir=rtl] .quick-icons .nav-list [class*=" icon-"] {
77087715
#assignment.tab-pane {
77097716
min-height: 500px;
77107717
}
7711-
.chzn-container,
7712-
.chzn-drop {
7713-
max-width: 100% !important;
7714-
}
77157718
@media (max-width: 979px) {
77167719
.navbar .nav {
77177720
font-size: 13px;
@@ -7790,11 +7793,6 @@ html[dir=rtl] .quick-icons .nav-list [class*=" icon-"] {
77907793
display: block;
77917794
margin: 10px 0;
77927795
}
7793-
.chzn-container,
7794-
.chzn-container .chzn-results,
7795-
.chzn-container-single .chzn-drop {
7796-
width: 99% !important;
7797-
}
77987796
.subhead-collapse.collapse {
77997797
height: 0;
78007798
overflow: hidden;
@@ -8115,9 +8113,14 @@ th .tooltip-inner {
81158113
min-width: 50px;
81168114
margin-left: -1px;
81178115
}
8116+
.controls .btn-group.btn-group-yesno {
8117+
width: 100%;
8118+
max-width: 220px;
8119+
}
81188120
.controls .btn-group.btn-group-yesno > .btn {
8119-
min-width: 84px;
8120-
padding: 2px 12px;
8121+
width: 50%;
8122+
min-width: 20px;
8123+
padding: 2px 0;
81218124
}
81228125
.img-preview > img {
81238126
max-height: 100%;

administrator/templates/isis/less/chzn-override.less

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
border-radius: 0 0 3px 3px;
44
}
55
}
6+
7+
.control-group .chzn-container {
8+
width: 100% !important;
9+
max-width: 220px;
10+
}
11+
612
.chzn-container-single {
713
.chzn-single {
814
background-color: @white;
@@ -170,4 +176,7 @@
170176
.js-stools .js-stools-container-bar .js-stools-field-filter .chzn-container {
171177
margin: 1px 0;
172178
padding: 0 !important;
179+
}
180+
#jform_tags_chzn.chzn-container {
181+
max-width: 440px;
173182
}

administrator/templates/isis/less/template.less

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -706,11 +706,7 @@ html[dir=rtl] .quick-icons .nav-list [class^="icon-"], html[dir=rtl] .quick-icon
706706
#assignment.tab-pane {
707707
min-height: 500px;
708708
}
709-
/* Chosen Max Width */
710-
.chzn-container,
711-
.chzn-drop {
712-
max-width: 100% !important;
713-
}
709+
714710
@media (max-width: 979px) {
715711
.navbar {
716712
.nav {
@@ -814,12 +810,6 @@ html[dir=rtl] .quick-icons .nav-list [class^="icon-"], html[dir=rtl] .quick-icon
814810
margin: 10px 0;
815811
}
816812

817-
.chzn-container,
818-
.chzn-container .chzn-results,
819-
.chzn-container-single .chzn-drop {
820-
width: 99% !important;
821-
}
822-
823813
.subhead-collapse.collapse {
824814
height: 0;
825815
overflow: hidden;
@@ -1214,9 +1204,14 @@ th .tooltip-inner {
12141204
margin-left: -1px;
12151205
}
12161206

1217-
.controls .btn-group.btn-group-yesno > .btn {
1218-
min-width: 84px;
1219-
padding: 2px 12px;
1207+
.controls .btn-group.btn-group-yesno {
1208+
width: 100%;
1209+
max-width: 220px;
1210+
> .btn {
1211+
width: 50%;
1212+
min-width: 20px;
1213+
padding: 2px 0;
1214+
}
12201215
}
12211216
.img-preview > img {
12221217
max-height: 100%;

0 commit comments

Comments
 (0)