Skip to content

Commit 25b7571

Browse files
fixing responsive stuff
1 parent d3b937c commit 25b7571

File tree

3 files changed

+9
-16
lines changed

3 files changed

+9
-16
lines changed

src/documentation/components/examples/ButtonsFieldExample.vue

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
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">
@@ -146,6 +146,7 @@
146146
</template>
147147

148148
<script setup lang="ts">
149+
import { useDisplay } from 'vuetify';
149150
import {
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
167169
const buttonVariantOptions = [
168170
{

src/documentation/sections/ComponentsSection.vue

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
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

@@ -98,19 +98,6 @@
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

src/plugin/components/fields/VSFButtonField/VSFButtonField.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)