Skip to content

Commit

Permalink
fix: phone number fields styling
Browse files Browse the repository at this point in the history
  • Loading branch information
hissingpanda committed Aug 11, 2021
1 parent 84df4b5 commit 1f80106
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions app/javascript/components/PhoneNumberField/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
min-width: 49%;
}
}
.PhoneInputCountryIconImg {
height: 0;
}
}

@layer components {
Expand Down
6 changes: 3 additions & 3 deletions app/views/user_profiles/_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@
</div>
</div>

<div class="pt-5">
<div class="flex justify-end">
<%= f.submit 'Save', class: "ml-3 inline-flex justify-center py-2 px-4 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500" %>
<div class="py-5">
<div class="submit-btn-container flex justify-end">
<%= f.submit 'Save', class: "ml-3 inline-flex justify-center py-2 px-4 border border-transparent shadow-sm text-sm font-bold text-base text-white focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500" %>
</div>
</div>
</div>
Expand Down

0 comments on commit 1f80106

Please sign in to comment.