fixed input bug

This commit is contained in:
Danny Zou 2024-05-29 10:54:13 -04:00
parent af604a9ddc
commit 6112e0dfac
2 changed files with 4 additions and 0 deletions

View File

@ -49,6 +49,7 @@
height: 100%; height: 100%;
position: relative; position: relative;
.input-bx{ .input-bx{
position: relative;
margin-top: 1rem; margin-top: 1rem;
width: 300px; width: 300px;
input{ input{
@ -64,6 +65,7 @@
span{ span{
position: absolute; position: absolute;
left: 0; left: 0;
top: 1px;
padding: 10px; padding: 10px;
font-size: 1rem; font-size: 1rem;
color: #7f8fa6; color: #7f8fa6;

View File

@ -51,6 +51,7 @@
.input-bx{ .input-bx{
margin-top: 1rem; margin-top: 1rem;
width: 300px; width: 300px;
position: relative;
input{ input{
width: 100%; width: 100%;
padding: 10px; padding: 10px;
@ -64,6 +65,7 @@
span{ span{
position: absolute; position: absolute;
left: 0; left: 0;
top: 1px;
padding: 10px; padding: 10px;
font-size: 1rem; font-size: 1rem;
color: #7f8fa6; color: #7f8fa6;