|
|
|
@ -17,7 +17,7 @@ const props = defineProps({
|
|
|
|
|
}, |
|
|
|
|
height: { |
|
|
|
|
type: String, |
|
|
|
|
default: '100%', |
|
|
|
|
default: 'calc(100% - 120px)', |
|
|
|
|
}, |
|
|
|
|
list: { |
|
|
|
|
type: Array as PropType<MessageItem[]>, |
|
|
|
@ -178,7 +178,7 @@ onMounted(async () => {
|
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped> |
|
|
|
|
@include app('message') { |
|
|
|
|
max-height: v-bind(height); |
|
|
|
|
height: v-bind(height); |
|
|
|
|
overflow: auto; |
|
|
|
|
box-sizing: border-box; |
|
|
|
|
:deep(.md-editor-preview) { |
|
|
|
|