mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
red restore button
This commit is contained in:
parent
b9ac33d881
commit
872e91b39b
3 changed files with 19 additions and 1 deletions
|
@ -23,6 +23,10 @@
|
||||||
.text {
|
.text {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: stretch;
|
||||||
|
justify-content: center;
|
||||||
|
|
||||||
@include tablet {
|
@include tablet {
|
||||||
:global(.comment-author) {
|
:global(.comment-author) {
|
||||||
|
|
|
@ -15,7 +15,13 @@ const CommendDeleted: FC<IProps> = ({ id, onDelete }) => {
|
||||||
return (
|
return (
|
||||||
<div className={styles.wrap}>
|
<div className={styles.wrap}>
|
||||||
<div>Комментарий удалён</div>
|
<div>Комментарий удалён</div>
|
||||||
<Button size="mini" onClick={onRestore} iconLeft="restore">
|
<Button
|
||||||
|
size="mini"
|
||||||
|
onClick={onRestore}
|
||||||
|
color="link"
|
||||||
|
iconLeft="restore"
|
||||||
|
className={styles.button}
|
||||||
|
>
|
||||||
Восстановить
|
Восстановить
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -11,3 +11,11 @@
|
||||||
font: $font_14_semibold;
|
font: $font_14_semibold;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.button {
|
||||||
|
color: $red !important;
|
||||||
|
|
||||||
|
svg {
|
||||||
|
fill: $red !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue