File tree Expand file tree Collapse file tree 3 files changed +9
-16
lines changed
plugin/components/fields/VSFButtonField Expand file tree Collapse file tree 3 files changed +9
-16
lines changed Original file line number Diff line number Diff line change 2222 v-model =" drawer"
2323 fixed
2424 location =" right"
25- :scrim =" false"
26- temporary
25+ :scrim =" !mobile ? false : 'transparent' "
26+ : temporary= " !mobile "
2727 >
2828 <v-container >
2929 <div class =" d-flex justify-space-between align-center mb-2" >
146146</template >
147147
148148<script setup lang="ts">
149+ import { useDisplay } from ' vuetify' ;
149150import {
150151 array as yupArray ,
151152 object as yupObject ,
@@ -163,6 +164,7 @@ const optionsSettings = {
163164 density: ' comfortable' as const ,
164165 hideDetails: true ,
165166};
167+ const { mobile } = useDisplay ();
166168
167169const buttonVariantOptions = [
168170 {
Original file line number Diff line number Diff line change 2222 v-for =" component in componentList "
2323 :key =" component .title "
2424 >
25- <code class =" ic mr-2" >{{ component.title }}</code >
25+ <span >< code class =" ic mr-2 d-inline-flex " >{{ component.title }}</code ></ span >
2626 </template >
2727 </v-col >
2828
9898 An example of its usage can be found in the <a href =" #examples-buttons-field" >Buttons Field</a > example within the
9999 Examples section below.
100100 </v-col >
101-
102- <!-- <v-col
103- id="components-field-label"
104- cols="12"
105- >
106- <h3 :class="classes.h3">
107- <a
108- :class="classes.headerA"
109- href="#components-field-label"
110- >#</a>
111- Field Label
112- </h3>
113- </v-col> -->
114101 </v-row >
115102</template >
116103
Original file line number Diff line number Diff line change @@ -412,6 +412,10 @@ function containsSizeUnit(value: string | number): boolean {
412412 </script >
413413
414414<style lang="scss" scoped>
415+ .v-item-group {
416+ flex-wrap : wrap ;
417+ }
418+
415419.vsf-button-field {
416420 & __btn-label {
417421 color : v-bind (buttontextcolor );
You can’t perform that action at this time.
0 commit comments