From d6272281c3ef7029d336dc60ef8f8e09ddb0dc6c Mon Sep 17 00:00:00 2001 From: Alexandru Buliga Date: Fri, 12 Oct 2018 17:30:16 +0200 Subject: [PATCH] fix(menu): fix for cropped rounded corners --- CHANGELOG.md | 3 +++ src/themes/teams/components/Menu/menuStyles.ts | 1 + 2 files changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 478efda98f..8221e4de47 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,9 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm ## [Unreleased] +### Fixes +- Fix for cropped rounded corners in `Menu` component @Bugaa92 ([#360](https://github.com/stardust-ui/react/pull/360)) + ## [v0.9.1](https://github.com/stardust-ui/react/tree/v0.9.1) (2018-10-11) [Compare changes](https://github.com/stardust-ui/react/compare/v0.9.0...v0.9.1) diff --git a/src/themes/teams/components/Menu/menuStyles.ts b/src/themes/teams/components/Menu/menuStyles.ts index 779f8c22a5..f4608ae36a 100644 --- a/src/themes/teams/components/Menu/menuStyles.ts +++ b/src/themes/teams/components/Menu/menuStyles.ts @@ -28,6 +28,7 @@ export default { ...solidBorder(variables.typePrimaryBorderColor), }), borderRadius: pxToRem(4), + overflow: 'hidden', }), ...(underlined && { borderBottom: `2px solid ${variables.typePrimaryUnderlinedBorderColor}`,