File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed
documentation/components/examples
plugin/components/fields/VSFButtonField Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -211,6 +211,18 @@ const buttonAlignOptions = [
211
211
title: ' End' ,
212
212
value: ' end' ,
213
213
},
214
+ {
215
+ title: ' Space Between' ,
216
+ value: ' space-between' ,
217
+ },
218
+ {
219
+ title: ' Space Around' ,
220
+ value: ' space-around' ,
221
+ },
222
+ {
223
+ title: ' Space Evenly' ,
224
+ value: ' space-evenly' ,
225
+ },
214
226
];
215
227
const buttonBlock = ref (false );
216
228
const buttonDensityModel = ref (' default' as const );
Original file line number Diff line number Diff line change @@ -358,7 +358,8 @@ const buttontextcolor = ref('rgb(var(--v-theme-on-surface))');
358
358
// -------------------------------------------------- Classes //
359
359
const itemGroupClass = computed (() => {
360
360
return {
361
- [` align-${field ?.align } ` ]: field ?.align != null ,
361
+ [` align-${field ?.align } ` ]: field ?.align != null && field ?.block ,
362
+ [` justify-${field ?.align } ` ]: field ?.align != null && ! field ?.block ,
362
363
' d-flex' : true ,
363
364
' flex-column' : field ?.block ,
364
365
[` ga-${gap .value } ` ]: ! containsSizeUnit (gap .value ),
You can’t perform that action at this time.
0 commit comments