fix(files): update qr code style

This commit is contained in:
hexxa 2022-01-12 20:04:22 +08:00 committed by Hexxa
parent e57c1835f9
commit 29d5f9d9e6
2 changed files with 8 additions and 1 deletions

View file

@ -234,6 +234,13 @@
backdrop-filter: blur(9.5px); backdrop-filter: blur(9.5px);
} }
.theme-default .qrcode-flat {
padding: 1rem;
background-color: #ecf0f1;
display: inline-block;
background: rgba(255, 255, 255, 0.8);
}
.theme-default .qrcode-container { .theme-default .qrcode-container {
height: 3rem; height: 3rem;
} }

View file

@ -656,7 +656,7 @@ export class FilesPanel extends React.Component<Props, State, {}> {
<div className="column"> <div className="column">
<div className="card"> <div className="card">
<span className="title-m black-font">{pathTitle}</span> <span className="title-m black-font">{pathTitle}</span>
<div className="qrcode"> <div className="qrcode-flat">
<QRCode value={absDownloadURL} size={128} /> <QRCode value={absDownloadURL} size={128} />
</div> </div>
</div> </div>