1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-12-02 21:28:12 +00:00
This commit is contained in:
Vladimir Volek 2018-10-11 14:13:04 +02:00 committed by Szymon Lesisz
parent de34a8fe04
commit f2ac90c46e
2 changed files with 11 additions and 4 deletions

View File

@ -30,7 +30,7 @@ const Wrapper = styled.div`
position: relative; position: relative;
color: ${colors.TEXT_PRIMARY}; color: ${colors.TEXT_PRIMARY};
background: ${colors.TEXT_SECONDARY}; background: ${colors.TEXT_SECONDARY};
padding: 24px 48px 24px 24px; padding: 24px 48px 9px 24px;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
text-align: left; text-align: left;
@ -63,12 +63,13 @@ const Body = styled.div`
`; `;
const Message = styled.div` const Message = styled.div`
padding-bottom: 13px;
font-size: ${FONT_SIZE.SMALLER}; font-size: ${FONT_SIZE.SMALLER};
`; `;
const Title = styled.div` const Title = styled.div`
padding-bottom: 5px; padding-bottom: 5px;
line-height: 12px; padding-top: 1px;
font-weight: ${FONT_WEIGHT.BIGGER}; font-weight: ${FONT_WEIGHT.BIGGER};
`; `;
@ -93,7 +94,6 @@ const Texts = styled.div`
display: flex; display: flex;
padding: 0 10px 0 0; padding: 0 10px 0 0;
flex-direction: column; flex-direction: column;
flex: 1;
`; `;
const AdditionalContent = styled.div` const AdditionalContent = styled.div`
@ -107,6 +107,7 @@ const ActionContent = styled.div`
display: flex; display: flex;
justify-content: right; justify-content: right;
align-items: flex-end; align-items: flex-end;
padding-bottom: 14px;
`; `;
const Notification = (props: Props): React$Element<string> => { const Notification = (props: Props): React$Element<string> => {

View File

@ -53,11 +53,17 @@ class NotificationsGroup extends PureComponent {
// { // {
// key: 5, // key: 5,
// title: 'this is a title of warning notification as', // title: 'this is a title of warning notification as',
// type: 'success',
// message: <Link href="link" isGreen>See transaction detail</Link>,
// },
// {
// key: 6,
// title: 'this is a title of warning notification as',
// type: 'info', // type: 'info',
// message: 'this is a message of warning notification', // message: 'this is a message of warning notification',
// }, // },
// { // {
// key: 6, // key: 7,
// title: 'this is a title of info notification s ', // title: 'this is a title of info notification s ',
// type: 'info', // type: 'info',
// message: 'this is a message of info notification', // message: 'this is a message of info notification',