Skip to content

Commit

Permalink
chore(css): eliminate unnecessary css
Browse files Browse the repository at this point in the history
  • Loading branch information
machikoyasuda committed Aug 11, 2023
1 parent eaa44bc commit e640121
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion benefits/core/templates/core/includes/modal.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!-- Modal -->
{% with id|add:"-modal-label" as aria_labelledby_id %}
<div class="modal fade" id="{{ id }}" tabindex="-1" aria-labelledby="{{ aria_labelledby_id }}" aria-hidden="true">
<div class="modal-dialog {{ size }} modal-dialog-centered modal-dialog-scrollable">
<div class="modal-dialog w-auto h-auto {{ size }} modal-dialog-centered modal-dialog-scrollable">
<div class="modal-content">
<div class="modal-header border-0 {{ header }}">
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
Expand Down
9 changes: 0 additions & 9 deletions benefits/static/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -730,11 +730,6 @@ a.card:focus-visible {
center/1em auto no-repeat;
}

.modal-dialog {
width: auto;
height: auto;
}

.modal-content {
border-radius: var(--modal-border-radius);
}
Expand All @@ -748,10 +743,6 @@ a.card:focus-visible {
color: var(--text-primary-color);
}

.btn-close {
color: var(--text-primary-color);
}

.modal-header {
z-index: 1057;
}
Expand Down

0 comments on commit e640121

Please sign in to comment.