Skip to content

Commit

Permalink
feat(split-button): remove margin on buttons within container, add bo…
Browse files Browse the repository at this point in the history
…x-shadow to container
  • Loading branch information
mjaniczko-sage committed Jan 18, 2022
1 parent 34137ed commit 88dc3cb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -326,8 +326,6 @@ exports[`SplitButton for mint and aegean themes renders styles correctly 1`] = `
color: var(--colorsActionMajor500);
display: block;
margin-left: 0;
margin-top: 3px;
margin-bottom: 3px;
min-width: 100%;
text-align: left;
z-index: 1000;
Expand All @@ -349,8 +347,6 @@ exports[`SplitButton for mint and aegean themes renders styles correctly 1`] = `
color: var(--colorsActionMajor500);
display: block;
margin-left: 0;
margin-top: 3px;
margin-bottom: 3px;
min-width: 100%;
z-index: 1000;
}
Expand Down
3 changes: 1 addition & 2 deletions src/components/split-button/split-button-children.style.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,14 @@ const StyledSplitButtonChildrenContainer = styled.div`
min-width: ${({ minWidth }) => minWidth}px;
white-space: nowrap;
z-index: ${theme.zIndex.popover};
box-shadow: var(--boxShadow100);
${StyledButton} {
background-color: var(--colorsActionMajorYang100);
border: 1px solid var(--colorsActionMajorTransparent);
color: var(--colorsActionMajor500);
display: block;
margin-left: 0;
margin-top: 3px;
margin-bottom: 3px;
min-width: 100%;
text-align: ${align};
z-index: ${theme.zIndex.overlay};
Expand Down

0 comments on commit 88dc3cb

Please sign in to comment.