improvement(core-blocks): CB-185 changed body-time => footer-time

This commit is contained in:
Naumov Alexey
2020-10-14 19:24:41 +03:00
parent 19b9720911
commit 4a981c7e77
2 changed files with 1 additions and 6 deletions
@@ -43,7 +43,7 @@ export const ActionSnackbar: React.FC<Props> = function ActionSnackbar({
{notification.message && <message as="div">{translate(notification.message)}</message>}
</body-text-block>
<notification-footer as='div'>
<body-time as='span'>{timeStringFromTimestamp}</body-time>
<footer-time as='span'>{timeStringFromTimestamp}</footer-time>
<actions as="div">
<Button type="button" mod={['outlined']} onClick={onAction}>
{translate(actionText)}
@@ -110,11 +110,6 @@ export const SNACKBAR_COMMON_STYLES = composes(
actions {
display: flex;
&:not(:empty) {
margin-top: 24px;
}
& Button {
margin-left: 16px;