Skip to content

Commit a46a84e

Browse files
committed
setting wide for panel settings
1 parent 284625b commit a46a84e

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

src/components/overlay.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
@click.self="$emit('close')"
66
>
77
<div
8-
class="w-full md:w-4/5 bg-white text-gray-800 color-modal max-h-full overflow-y-auto"
8+
class="w-full md:w-2/5 bg-white text-gray-800 color-modal max-h-full overflow-y-auto"
99
:class="modalClass"
1010
>
1111
<div class="p-4">

src/components/panel.vue

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
class="pb-2 flex"
1212
>
1313
<div class="flex-1 min-w-0 overflow-hidden whitespace-no-wrap text-overflow-ellipsis">
14-
{{ name }}
14+
<span :title="name">{{ name }}</span>
1515
</div>
1616
<button
1717
v-if="hasSettings"
@@ -43,6 +43,7 @@
4343
</div>
4444
<overlay
4545
v-if="settingsOpen"
46+
:wide="wideSettings"
4647
@close="settingsOpen = false"
4748
>
4849
<template #title>
@@ -70,6 +71,10 @@ export default {
7071
isGrid: {
7172
type: Boolean,
7273
default: () => false
74+
},
75+
wideSettings: {
76+
type: Boolean,
77+
default: false
7378
}
7479
},
7580
data() {

src/components/panels/scenes.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
<template>
2-
<panel-wrapper :content-class="['button-grid', 'has-per-row-' + perRow, 'overflow-y-auto', 'flex-wrap', 'text-3xl']">
2+
<panel-wrapper
3+
wide-settings
4+
:content-class="['button-grid', 'has-per-row-' + perRow, 'overflow-y-auto', 'flex-wrap', 'text-3xl']">
5+
36
<template #name>
47
Scenes
58
</template>

0 commit comments

Comments
 (0)