|
@@ -7,17 +7,22 @@
|
|
|
>
|
|
|
<header ref="mouseHandler" class="tw-flex tw-place-content-between">
|
|
|
<div
|
|
|
- class="tw-text-2xl tw-cursor-move tw-flex-grow"
|
|
|
+ class="tw-text-base tw-ml-5 tw-my-2 tw-cursor-move tw-flex-grow"
|
|
|
@mousedown="handleDragMouseDown"
|
|
|
>
|
|
|
{{ title }}
|
|
|
</div>
|
|
|
- <a-button shape="circle" @click="$emit('close')">
|
|
|
+ <a-button
|
|
|
+ class="tw-mt-2 tw-mr-2"
|
|
|
+ shape="circle"
|
|
|
+ size="small"
|
|
|
+ @click="$emit('close')"
|
|
|
+ >
|
|
|
<template #icon><CloseOutlined /></template>
|
|
|
</a-button>
|
|
|
</header>
|
|
|
|
|
|
- <div class="tw-m-1 tw-overflow-scroll" style="height: calc(100% - 40px)">
|
|
|
+ <div class="tw-m-1 tw-overflow-scroll" style="height: calc(100% - 50px)">
|
|
|
<slot></slot>
|
|
|
</div>
|
|
|
|
|
@@ -173,12 +178,13 @@ export default defineComponent({
|
|
|
position: absolute;
|
|
|
min-width: 100px;
|
|
|
background-color: white;
|
|
|
- border: 1px solid grey;
|
|
|
+ border: 1px solid #edf2fa;
|
|
|
border-radius: 5px;
|
|
|
- box-shadow: 4px 6px 2px grey;
|
|
|
+ box-shadow: 0px 4px 8px 0px rgba(25, 27, 55, 0.1);
|
|
|
}
|
|
|
header {
|
|
|
- background-color: #eff3f6;
|
|
|
+ color: #283e76;
|
|
|
+ border-bottom: 1px solid #edf2fa;
|
|
|
}
|
|
|
.resize-handler {
|
|
|
position: absolute;
|