Skip to content

Commit 7315147

Browse files
author
Caio Tarifa
committed
choice group and fixing long page titles (#17)
1 parent 476a236 commit 7315147

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

app/assets/stylesheets/formadmin/components/_form.scss

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,28 @@ form {
205205
}
206206
}
207207

208+
.choices {
209+
margin-bottom: 0;
210+
}
211+
212+
.choices-group {
213+
margin: 0 0 0 calc(20% + 20px);
214+
}
215+
216+
.choice {
217+
border: 0;
218+
padding: 5px 0;
219+
220+
label {
221+
font-weight: normal;
222+
width: 100%;
223+
}
224+
225+
input[type="checkbox"] {
226+
margin: -1px 5px 0 0;
227+
}
228+
}
229+
208230
.hidden {
209231
display: none;
210232
}
@@ -273,6 +295,7 @@ form {
273295
.date_select fieldset ol,
274296
.time_select fieldset ol,
275297
.datetime_select fieldset ol,
298+
.choices-group,
276299
.inline-hints,
277300
.inline-errors {
278301
margin-left: 0;

app/assets/stylesheets/formadmin/layouts/_title-bar.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@
6767
// Medias
6868
@media #{$phone-and-tablet-screen} {
6969
#page_title {
70-
word-break: keep-all;
70+
hyphens: auto;
71+
word-break: break-all;
7172
}
7273

7374
#titlebar_left,

0 commit comments

Comments
 (0)