Skip to content

Commit 1228d9c

Browse files
authored
scrollable settings panel (#901)
1 parent 1c5ac9f commit 1228d9c

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

meta_configurator/src/components/panels/shared-components/PanelSettings.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ const settingsName = computed(() => {
6868
</script>
6969

7070
<template>
71-
<Panel :header="panelName" toggleable :collapsed="true">
71+
<Panel :header="panelName" toggleable :collapsed="true" class="panel-settings-scroll">
7272
<template v-if="containsText" #icons>
7373
<Button icon="pi pi-clone" severity="secondary" @click="copyToClipboard" rounded text />
7474
</template>
@@ -88,6 +88,10 @@ const settingsName = computed(() => {
8888
</template>
8989

9090
<style scoped>
91+
.panel-settings-scroll {
92+
max-height: 80vh;
93+
overflow-y: auto;
94+
}
9195
.properties-panel-container {
9296
padding-top: 1.5rem;
9397
}

0 commit comments

Comments
 (0)