Skip to content

Commit 287c16b

Browse files
fix(vue): toggle-button example
1 parent e06af48 commit 287c16b

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

packages/vue/examples/toggle-button/src/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
app="meetup_dataset"
55
url="https://a03a1cb71321:75b6603d-9456-4a5a-af6b-a487b309eb61@appbase-demo-ansible-abxiydt-arc.searchbase.io"
66
>
7-
<div class="row">
7+
<div class="parent-row">
88
<div class="col">
99
<toggle-button
1010
componentId="CitySensor"

packages/vue/examples/toggle-button/src/styles.css

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.row {
1+
.parent-row, .row {
22
display: flex;
33
flex-direction: row;
44
width: 100%;
@@ -157,3 +157,18 @@
157157
.ml20 {
158158
margin-left: 20px;
159159
}
160+
161+
162+
@media only screen and (max-width: 1000px) {
163+
.parent-row{
164+
flex-direction: column;
165+
}
166+
167+
.parent-row>.col{
168+
width:100%;
169+
}
170+
171+
.result-list-container {
172+
width: 100%;
173+
}
174+
}

0 commit comments

Comments
 (0)