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 = [
211211 title: ' End' ,
212212 value: ' end' ,
213213 },
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+ },
214226];
215227const buttonBlock = ref (false );
216228const 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))');
358358// -------------------------------------------------- Classes //
359359const itemGroupClass = computed (() => {
360360 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 ,
362363 ' d-flex' : true ,
363364 ' flex-column' : field ?.block ,
364365 [` ga-${gap .value } ` ]: ! containsSizeUnit (gap .value ),
You can’t perform that action at this time.
0 commit comments