diff --git a/UNRELEASED.md b/UNRELEASED.md index 5df45152530..e42dde2ddd0 100644 --- a/UNRELEASED.md +++ b/UNRELEASED.md @@ -10,6 +10,7 @@ Use [the changelog guidelines](https://git.io/polaris-changelog-guidelines) to f - Fixed `Navigation.Item` not calling `onClick` on small screens when `onNavigationDismiss` is undefined ([#603](https://github.com/Shopify/polaris-react/pull/603)) - Fixed `Autocomplete` empty state example Markdown not parsing correctly ([#592](https://github.com/Shopify/polaris-react/pull/592)) +- `TopBar`'s `UserMenu` is now right-aligned when `TopBar` isn't passed a `searchField` prop. ([#597](https://github.com/Shopify/polaris-react/pull/597)) - Removed erroneous scss file import that rendered Polaris unable to be used in typescript projects without scss support ([#609](https://github.com/Shopify/polaris-react/pull/609)) - Fixed `Popover` inconsistent `border-radius` values ([#605](https://github.com/Shopify/polaris-react/pull/605)) - `TextStyle` "strong" variant now uses a `span` tag instead of `b` ([#606](https://github.com/Shopify/polaris-react/pull/606)) diff --git a/src/components/TopBar/TopBar.scss b/src/components/TopBar/TopBar.scss index 84237a5e54e..06e7637fbe7 100644 --- a/src/components/TopBar/TopBar.scss +++ b/src/components/TopBar/TopBar.scss @@ -68,5 +68,6 @@ $icon-size: rem(20px); display: flex; flex: 1 1 auto; align-items: center; + justify-content: flex-end; height: 100%; }