Update donation input

This commit is contained in:
Kevin Kandlbinder 2022-02-10 00:10:27 +00:00 committed by GitHub
parent 248cae6c83
commit c6864457de
2 changed files with 10 additions and 8 deletions

View file

@ -2,18 +2,18 @@
.priceAmount { .priceAmount {
display: flex; display: flex;
width: 150px;
margin: 20px auto; margin: 20px auto;
border: $border; border: $border;
border-radius: 5px; border-radius: 5px;
overflow: hidden; overflow: hidden;
line-height: 40px; line-height: 40px;
width: fit-content;
input { input {
flex-grow: 1; flex-grow: 1;
border: none; border: none;
padding-left: 10px; padding-left: 10px;
width: 1px; width: 100px;
border-right: $border; border-right: $border;
} }
@ -21,10 +21,13 @@
width: 20px; width: 20px;
text-align: center; text-align: center;
} }
}
.donateButton { .donateButton {
@include button; @include button;
flex-grow: 1;
height: 40px;
border-radius: 0 5px 5px 0;
}
} }
.sronly { .sronly {

View file

@ -99,8 +99,6 @@ const DonatePage = (props) => {
id="priceInput" id="priceInput"
/> />
<div></div> <div></div>
</div>
<a <a
className={styles.donateButton} className={styles.donateButton}
rel="noopener" rel="noopener"
@ -135,6 +133,7 @@ const DonatePage = (props) => {
</span> </span>
<ArrowRight /> <ArrowRight />
</a> </a>
</div>
</article> </article>
</section> </section>
</Layout> </Layout>