Skip to content

Commit

Permalink
edit dropdown margin (#355)
Browse files Browse the repository at this point in the history
  • Loading branch information
lobsam authored Sep 24, 2024
2 parents aae0fe9 + 3c52a19 commit d5982f8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion sefaria/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class SefariaNewUserForm(EmailUserCreationForm):
choices=CHOICES,
widget=forms.Select(attrs={
'class': 'custom-select-large-margin',
'placeholder': _("Select an Option")})
'placeholder': _("Select user type...")})
)

captcha_lang = "iw" if get_language() == 'he' else "en"
Expand Down
4 changes: 4 additions & 0 deletions static/css/static.css
Original file line number Diff line number Diff line change
Expand Up @@ -597,10 +597,14 @@
.registrationContent #register-form .custom-select-large-margin {
padding: 10px; /* Increase padding for the entire dropdown */
font-size: 15px; /* Optionally increase the font size */
border-radius: 8px;
box-shadow: 0px 1px 3px rgba(45, 45, 45, 0.25);
margin-top: 0.9px;
}
/* Style the individual options within the select */
.registrationContent #register-form .custom-select-large-margin option {
padding: 15px 20px; /* Increase padding inside each option to simulate margin */
color:rgba(0, 0, 0, 0.572);
}
input#id_email::placeholder {
text-align: left;
Expand Down

0 comments on commit d5982f8

Please sign in to comment.