mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 01:06:59 +08:00
style(Dashboard): update dashboard style (#110)
This commit is contained in:
@@ -140,6 +140,10 @@ const emits = defineEmits(['parentAddItemBox'])
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow-y: auto;
|
||||
&::-webkit-scrollbar {
|
||||
width: 0 !important;
|
||||
height: 0 !important;
|
||||
}
|
||||
:deep(.ed-empty__description) {
|
||||
width: 240px !important;
|
||||
}
|
||||
|
||||
@@ -40,7 +40,7 @@ const addComponent = (componentType: string, viewInfo?: any) => {
|
||||
component.propValue[0].title = t('dashboard.new_tab')
|
||||
component.activeTabName = subTabName
|
||||
}
|
||||
component.y = maxYComponentCount() + 10
|
||||
component.y = maxYComponentCount() + 2
|
||||
// @ts-expect-error eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
dashboardEditorInnerRef.value.addItemToBox(component)
|
||||
}
|
||||
|
||||
@@ -142,6 +142,10 @@ defineExpose({
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
position: relative;
|
||||
&::-webkit-scrollbar {
|
||||
width: 0 !important;
|
||||
height: 0 !important;
|
||||
}
|
||||
|
||||
div::-webkit-scrollbar {
|
||||
width: 0 !important;
|
||||
|
||||
Reference in New Issue
Block a user