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 22
22
v-model =" drawer"
23
23
fixed
24
24
location =" right"
25
- :scrim =" false"
26
- temporary
25
+ :scrim =" !mobile ? false : 'transparent' "
26
+ : temporary= " !mobile "
27
27
>
28
28
<v-container >
29
29
<div class =" d-flex justify-space-between align-center mb-2" >
146
146
</template >
147
147
148
148
<script setup lang="ts">
149
+ import { useDisplay } from ' vuetify' ;
149
150
import {
150
151
array as yupArray ,
151
152
object as yupObject ,
@@ -163,6 +164,7 @@ const optionsSettings = {
163
164
density: ' comfortable' as const ,
164
165
hideDetails: true ,
165
166
};
167
+ const { mobile } = useDisplay ();
166
168
167
169
const buttonVariantOptions = [
168
170
{
Original file line number Diff line number Diff line change 22
22
v-for =" component in componentList "
23
23
:key =" component .title "
24
24
>
25
- <code class =" ic mr-2" >{{ component.title }}</code >
25
+ <span >< code class =" ic mr-2 d-inline-flex " >{{ component.title }}</code ></ span >
26
26
</template >
27
27
</v-col >
28
28
98
98
An example of its usage can be found in the <a href =" #examples-buttons-field" >Buttons Field</a > example within the
99
99
Examples section below.
100
100
</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> -->
114
101
</v-row >
115
102
</template >
116
103
Original file line number Diff line number Diff line change @@ -412,6 +412,10 @@ function containsSizeUnit(value: string | number): boolean {
412
412
</script >
413
413
414
414
<style lang="scss" scoped>
415
+ .v-item-group {
416
+ flex-wrap : wrap ;
417
+ }
418
+
415
419
.vsf-button-field {
416
420
& __btn-label {
417
421
color : v-bind (buttontextcolor );
You can’t perform that action at this time.
0 commit comments