Skip to content

Commit

Permalink
components(form-row): fix CSS specificity
Browse files Browse the repository at this point in the history
  • Loading branch information
ozgurg committed Mar 30, 2024
1 parent ac633e7 commit 935cde1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/form-row.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<v-row
:class="{'horizontal': props.direction === 'horizontal'}"
no-gutters=""
class="flex-column flex-sm-row">
class="form-row flex-column flex-sm-row">
<v-col>
<template v-if="props.label">
<label>
Expand Down Expand Up @@ -33,7 +33,7 @@ const props = defineProps({
<style lang="scss" scoped="">
@import "~vuetify/src/components/VTextField/_variables.scss";
.row {
.form-row {
--vh-form-row-gap: .375rem;
--vh-form-row-label-col-width: 100%;
--vh-form-row-label-justify-content: flex-start;
Expand All @@ -45,7 +45,7 @@ const props = defineProps({
--vh-form-row-label-justify-content: flex-end
}
}
.col:first-child {
& > .col:first-child {
flex: 0 0 var(--vh-form-row-label-col-width);
max-width: var(--vh-form-row-label-col-width);
label {
Expand Down

0 comments on commit 935cde1

Please sign in to comment.