PNG 按钮样式调整
This commit is contained in:
parent
c5bcfacd75
commit
4bfa834bd7
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue