Skip to content

Commit

Permalink
chore: fix password eye and text overlap
Browse files Browse the repository at this point in the history
  • Loading branch information
rootCircle committed Dec 8, 2024
1 parent 6dd02b5 commit 1c8587f
Showing 1 changed file with 23 additions and 22 deletions.
45 changes: 23 additions & 22 deletions public/src/options/options.css
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,29 @@ label {
color: var(--text-primary);
}

.password-container {
position: relative;
width: 100%;
}

.password-input {
width: 100%;
padding: 10px;
padding-right: 35px !important; /* Space for the eye icon */
box-sizing: border-box;
font-size: 16px;
border: 1px solid #ccc;
border-radius: 5px;
}

.eye-icon {
position: absolute;
right: 10px;
top: 50%;
transform: translateY(-50%);
cursor: pointer;
}

input[type='text'],
input[type='password'],
input[type='number'],
Expand Down Expand Up @@ -497,28 +520,6 @@ input[disabled] {
}
}

.password-container {
position: relative;
width: 100%;
}

.password-input {
width: 100%;
padding: 10px;
padding-right: 35px; /* Space for the eye icon */
box-sizing: border-box;
font-size: 16px;
border: 1px solid #ccc;
border-radius: 5px;
}

.eye-icon {
position: absolute;
right: 10px;
top: 50%;
transform: translateY(-50%);
cursor: pointer;
}
.card-icons {
display: flex;
flex-direction: column;
Expand Down

0 comments on commit 1c8587f

Please sign in to comment.