Skip to content

Commit a60ab88

Browse files
committed
fix: Allineamento larghezza input field e icon button anche per pagina reset password
1 parent a4702f2 commit a60ab88

2 files changed

Lines changed: 21 additions & 4 deletions

File tree

assets/src/css/style.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -700,6 +700,8 @@ span.form-control {
700700

701701
.login-box {
702702
margin: 0 auto;
703+
max-width: 450px;
704+
width: 100%;
703705
}
704706

705707
.card-outline.card-primary {

reset.php

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,21 @@
119119
.btn-primary {
120120
transition: all 0.3s ease;
121121
}
122+
/* Allineamento larghezza input field e icon button */
123+
.card-center-large .input-group {
124+
display: flex;
125+
}
126+
.card-center-large .input-group .form-control,
127+
.card-center-large .input-group .form-control-lg {
128+
flex: 1;
129+
}
130+
.card-center-large .input-group-append .input-group-text {
131+
width: auto;
132+
min-width: 45px;
133+
display: flex;
134+
align-items: center;
135+
justify-content: center;
136+
}
122137
@media (max-width: 576px) {
123138
.card-center-large {
124139
width: 90%;
@@ -194,17 +209,17 @@ function brute() {
194209
<div class="input-group mb-4">
195210
<input type="text" name="username" class="form-control form-control-lg" placeholder="'.tr('Username').'" required>
196211
<div class="input-group-append">
197-
<div class="input-group-text bg-light">
198-
<i class="fa fa-user text-primary"></i>
212+
<div class="input-group-text after">
213+
<i class="fa fa-user"></i>
199214
</div>
200215
</div>
201216
</div>
202217
203218
<div class="input-group mb-4">
204219
<input type="email" name="email" class="form-control form-control-lg email-mask" placeholder="'.tr('Email').'" required>
205220
<div class="input-group-append">
206-
<div class="input-group-text bg-light">
207-
<i class="fa fa-envelope text-primary"></i>
221+
<div class="input-group-text after">
222+
<i class="fa fa-envelope"></i>
208223
</div>
209224
</div>
210225
</div>';

0 commit comments

Comments
 (0)