优化
This commit is contained in:
@@ -97,8 +97,8 @@ export const DraggablePanel = memo(({
|
|||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
position: 'absolute',
|
position: 'absolute',
|
||||||
top: 30,
|
top: 10,
|
||||||
left: 0,
|
left: 10,
|
||||||
right: 0,
|
right: 0,
|
||||||
height: 28,
|
height: 28,
|
||||||
borderRadius: 8,
|
borderRadius: 8,
|
||||||
@@ -119,7 +119,7 @@ export const DraggablePanel = memo(({
|
|||||||
{/* 子内容 */}
|
{/* 子内容 */}
|
||||||
<div style={{
|
<div style={{
|
||||||
position: 'absolute',
|
position: 'absolute',
|
||||||
top: handleContent ? 28 : 0,
|
top: handleContent ? 0 : 0,
|
||||||
left: 0,
|
left: 0,
|
||||||
right: 0,
|
right: 0,
|
||||||
bottom: 0
|
bottom: 0
|
||||||
|
|||||||
Reference in New Issue
Block a user