FileDecrypter: add a link to home page
This commit is contained in:
parent
7966135ac7
commit
709a6d24a9
|
@ -1,4 +1,5 @@
|
|||
import React from "react"
|
||||
import { Link } from "react-router-dom"
|
||||
import * as crypto from "../crypto"
|
||||
import * as util from "../util"
|
||||
|
||||
|
@ -106,6 +107,13 @@ class FileDecrypter extends React.Component
|
|||
Save File
|
||||
</a>
|
||||
}
|
||||
<br/>
|
||||
<Link
|
||||
className="button-blue"
|
||||
to="/paste/text"
|
||||
>
|
||||
Home
|
||||
</Link>
|
||||
</div>
|
||||
}</div>
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
@mixin base-button {
|
||||
border: none;
|
||||
outline: none;
|
||||
color: white;
|
||||
color: white !important;
|
||||
padding: 10px 24px;
|
||||
margin-left: $button-margin-left;
|
||||
margin-right: $button-margin-right;
|
||||
|
|
|
@ -21,4 +21,14 @@
|
|||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
width: 50%;
|
||||
max-width: 50%;
|
||||
max-height: 100%;
|
||||
}
|
||||
|
||||
@media screen and ( max-width: $content-width ) {
|
||||
.content-file-info {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue