FileDecrypter: add a link to home page

This commit is contained in:
Peter Cai 2020-02-19 16:45:58 +08:00
parent 7966135ac7
commit 709a6d24a9
No known key found for this signature in database
GPG Key ID: 71F5FB4E4F3FD54F
3 changed files with 19 additions and 1 deletions

View File

@ -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>

View File

@ -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;

View File

@ -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%;
}
}