1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46:40 +07:00

red restore button

This commit is contained in:
Fedor Katurov 2019-12-03 16:29:26 +07:00
parent b9ac33d881
commit 872e91b39b
3 changed files with 19 additions and 1 deletions

View file

@ -23,6 +23,10 @@
.text {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
align-items: stretch;
justify-content: center;
@include tablet {
:global(.comment-author) {

View file

@ -15,7 +15,13 @@ const CommendDeleted: FC<IProps> = ({ id, onDelete }) => {
return (
<div className={styles.wrap}>
<div>Комментарий удалён</div>
<Button size="mini" onClick={onRestore} iconLeft="restore">
<Button
size="mini"
onClick={onRestore}
color="link"
iconLeft="restore"
className={styles.button}
>
Восстановить
</Button>
</div>

View file

@ -11,3 +11,11 @@
font: $font_14_semibold;
}
}
.button {
color: $red !important;
svg {
fill: $red !important;
}
}