Skip to content

Commit

Permalink
[bugfix] Update notification spacing between title and description (#…
Browse files Browse the repository at this point in the history
…5238)

* Update notification padding

* Update notification spacing to match figma

* Linter

* Update packages/react-composites CallComposite browser test snapshots

* Update packages/react-composites CallComposite browser test snapshots

* Update packages/react-composites CallComposite browser test snapshots

* Update packages/react-composites CallComposite browser test snapshots

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
edwardlee-msft and github-actions[bot] authored Oct 3, 2024
1 parent 3175367 commit 106e04d
Show file tree
Hide file tree
Showing 14 changed files with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"type": "patch",
"area": "fix",
"workstream": "Notifications",
"comment": "Increase Notification spacing betwen Title and Description text",
"packageName": "@azure/communication-react",
"email": "[email protected]",
"dependentChangeType": "patch"
}
4 changes: 3 additions & 1 deletion packages/react-components/src/components/Notification.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,9 @@ export const Notification = (props: NotificationProps): JSX.Element => {
onClick={props.onDismiss}
/>
</Stack>
<Text className={messageTextStyle(theme)}>{strings?.message}</Text>
<Text className={messageTextStyle(theme)} style={{ marginTop: '0.25rem' }}>
{strings?.message}
</Text>
<Stack horizontal horizontalAlign="space-evenly">
{strings?.secondaryButtonLabel && (
<DefaultButton onClick={props.onClickSecondaryButton} style={{ marginTop: '1rem' }}>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 106e04d

Please sign in to comment.