Skip to content

Commit

Permalink
Merge pull request pkp#279 from jardakotesovec/i8980
Browse files Browse the repository at this point in the history
pkp/pkp-lib#8980 Add fallbacks for float inline-start due limited bro…
  • Loading branch information
jardakotesovec authored Aug 4, 2023
2 parents 14558cb + 186128f commit aa88884
Showing 1 changed file with 20 additions and 3 deletions.
23 changes: 20 additions & 3 deletions src/components/Form/FormGroup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -215,18 +215,28 @@ export default {
}
.pkpFormGroup__heading {
float: inline-start;
float: left;
width: 30%;
padding-inline-end: 1.5rem;
line-height: @line-sml;
+ .pkpFormGroup__fields {
float: inline-end;
float: right;
width: 70%;
padding-inline-start: 1.5rem;
}
}
[dir='rtl'] {
.pkpFormGroup__heading {
float: right;
.pkpFormGroup__fields {
float: left;
}
}
}
.pkpFormGroup__legend {
display: inline-block;
margin-bottom: 0.5rem;
Expand Down Expand Up @@ -270,7 +280,7 @@ export default {
}
.pkpFormGroup__locale--isVisible {
float: inline-start;
float: left;
width: 50%;
padding-inline-end: 1.5rem;
Expand All @@ -280,6 +290,13 @@ export default {
}
}
}
[dir='rtl'] {
.pkpForm--hasManyVisibleLocales {
.pkpFormGroup__locale--isVisible {
float: right;
}
}
}
// When forms appear in a dropdown
.pkpDropdown .pkpFormGroup {
Expand Down

0 comments on commit aa88884

Please sign in to comment.