PNG 按钮样式调整

This commit is contained in:
ciaochaos 2020-08-31 19:53:24 +08:00
parent c5bcfacd75
commit 4bfa834bd7
2 changed files with 4 additions and 4 deletions

View File

@ -574,7 +574,7 @@ input[type="number"]{
flex-wrap: wrap;
}
.div-btn > .dl-btn {
.div-btn .dl-btn {
margin: 0 0 10px!important;
}
@ -656,8 +656,8 @@ input[type="number"]{
}
@media (min-width: 666px) {
.div-btn {
max-width: 620px;
.img-dl-btn {
max-width: 620px!important;
}
}

View File

@ -42,7 +42,7 @@ const PartDownload = ({ value, downloadCount, onSvgDownload, onImgDownload }) =>
</div>
<div className="Qr-Centered">
<div className="btn-row">
<div className="div-btn">
<div className="div-btn img-dl-btn">
<button className="dl-btn" onClick={() => {onImgDownload("jpg").then(res => setImgData(res));}}>JPG</button>
<button className="dl-btn" onClick={() => {onImgDownload("png").then(res => setImgData(res));}}>PNG</button>
<button className="dl-btn" onClick={onSvgDownload}>SVG</button>