Skip to content

Commit

Permalink
Fix field width
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarpsvo committed Jan 4, 2021
1 parent 1dccdec commit a0c33b6
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 deletions resources/js/components/FormField.vue
Original file line number Diff line number Diff line change
Expand Up @@ -243,13 +243,26 @@ export default {
}
}
> :nth-child(1) {
min-width: 20%;
> *:not(:only-child) {
> :nth-child(1) {
min-width: 20%;
}
// Make field area full width
> :nth-child(2) {
width: 100% !important;
}
}
// Make field area full width
> :nth-child(2) {
width: 100% !important;
> *:only-child {
> *:nth-child(1) {
min-width: 20%;
}
// Make field area full width
> *:nth-child(2) {
width: 100% !important;
}
}
}
</style>

0 comments on commit a0c33b6

Please sign in to comment.