diff --git a/ui/component/snackBar/view.jsx b/ui/component/snackBar/view.jsx index f0f5c1254..535531373 100644 --- a/ui/component/snackBar/view.jsx +++ b/ui/component/snackBar/view.jsx @@ -7,7 +7,7 @@ import Icon from 'component/common/icon'; import LbcMessage from 'component/common/lbc-message'; type Props = { - removeSnack: any => void, + removeSnack: (any) => void, snack: ?{ linkTarget: ?string, linkText: ?string, @@ -53,9 +53,9 @@ class SnackBar extends React.PureComponent {
-
+

{message} -

+

{linkText && linkTarget && ( // This is a little weird because of `linkTarget` code in `lbry-redux` diff --git a/ui/scss/component/_snack-bar.scss b/ui/scss/component/_snack-bar.scss index 57d51e318..69922b846 100644 --- a/ui/scss/component/_snack-bar.scss +++ b/ui/scss/component/_snack-bar.scss @@ -47,8 +47,6 @@ } .snack-bar__message { - overflow: hidden; - text-overflow: ellipsis; align-items: center; display: flex; flex-direction: row; @@ -64,3 +62,8 @@ min-width: 1rem; } } +.snack-bar__messageText { + min-width: 0; + text-overflow: ellipsis; + overflow: hidden; +}