Skip to content

Commit

Permalink
🐛 fix: rollback draggalPannel styles
Browse files Browse the repository at this point in the history
  • Loading branch information
ONLY-yours committed Dec 22, 2023
1 parent 19b310b commit 387b457
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/DraggablePanel/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ export const useStyle = createStyles(({ token, css, cx }, prefix: string) => {
fixed: cx(
`${prefix}-fixed`,
css`
background: ${token.colorBgContainer};
overflow: hidden;
`,
),
Expand Down
11 changes: 11 additions & 0 deletions tests/__snapshots__/demo.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -14732,6 +14732,7 @@ exports[`<DraggablePanel /> > renders basic.tsx correctly 1`] = `
}

.emotion-3 {
background: #ffffff;
overflow: hidden;
}

Expand Down Expand Up @@ -14881,6 +14882,7 @@ exports[`<DraggablePanel /> > renders bottom.tsx correctly 1`] = `
}

.emotion-4 {
background: #ffffff;
overflow: hidden;
}

Expand Down Expand Up @@ -15341,6 +15343,7 @@ exports[`<DraggablePanel /> > renders left.tsx correctly 1`] = `
}

.emotion-4 {
background: #ffffff;
overflow: hidden;
}

Expand Down Expand Up @@ -15491,6 +15494,7 @@ exports[`<DraggablePanel /> > renders top.tsx correctly 1`] = `
}

.emotion-4 {
background: #ffffff;
overflow: hidden;
}

Expand Down Expand Up @@ -21306,6 +21310,7 @@ exports[`<Layout /> > renders basic.tsx correctly 1`] = `
}

.emotion-10 {
background: #ffffff;
overflow: hidden;
}

Expand Down Expand Up @@ -21969,6 +21974,7 @@ exports[`<Layout /> > renders dingding.tsx correctly 1`] = `
}

.emotion-15 {
background: #ffffff;
overflow: hidden;
}

Expand Down Expand Up @@ -22469,6 +22475,7 @@ exports[`<Layout /> > renders noLeftPannel.tsx correctly 1`] = `
}

.emotion-5 {
background: #ffffff;
overflow: hidden;
}

Expand Down Expand Up @@ -22822,6 +22829,7 @@ exports[`<Layout /> > renders single.tsx correctly 1`] = `
}

.emotion-4 {
background: #ffffff;
overflow: hidden;
}

Expand Down Expand Up @@ -23154,6 +23162,7 @@ exports[`<Layout /> > renders themeType.tsx correctly 1`] = `
}

.emotion-9 {
background: #ffffff;
overflow: hidden;
}

Expand Down Expand Up @@ -23815,6 +23824,7 @@ exports[`<Layout /> > renders types.tsx correctly 1`] = `
}

.emotion-9 {
background: #ffffff;
overflow: hidden;
}

Expand Down Expand Up @@ -24406,6 +24416,7 @@ exports[`<LevaPanel /> > renders button.tsx correctly 1`] = `
}

.emotion-3 {
background: #ffffff;
overflow: hidden;
}

Expand Down

0 comments on commit 387b457

Please sign in to comment.