We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 509a4f5 commit c28ff1dCopy full SHA for c28ff1d
packages/compass-components/src/components/drawer/drawer/drawer.styles.ts
@@ -54,7 +54,7 @@ const getBaseStyles = ({ theme }: { theme: Theme }) => css`
54
all: unset;
55
background-color: ${color[theme].background.primary.default};
56
border: 1px solid ${color[theme].border.secondary.default};
57
- width: ${PANEL_WIDTH}px;
+ max-width: ${PANEL_WIDTH}px;
58
height: 100%;
59
overflow: hidden;
60
box-sizing: border-box;
@@ -206,6 +206,7 @@ const getInnerOpenContainerStyles = css`
206
transition-duration: ${transitionDuration.slowest}ms;
207
transition-timing-function: linear;
208
opacity: 1;
209
+ width: ${PANEL_WIDTH}px;
210
`;
211
212
export const getInnerContainerStyles = ({
0 commit comments