Skip to content

Commit

Permalink
refactor(core): move CSS to external file
Browse files Browse the repository at this point in the history
Declare styles for the main modal in the
main CSS file for the app instead of inline.

Closes #1258
  • Loading branch information
koeaw committed Nov 11, 2024
1 parent 5755ae6 commit 3b4963b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions apis_core/core/static/css/core.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,8 @@ footer a:has(> img):hover,
footer a:has(> span[class*="material-symbols"]):hover {
text-decoration: none;
}

/* main modal in modal block */
#modal .modal-dialog {
max-width: 800px;
}
2 changes: 1 addition & 1 deletion apis_core/core/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@
tabindex="-1"
aria-labelledby="modalLabel"
aria-hidden="true">
<div class="modal-dialog" style="max-width: 800px;">
<div class="modal-dialog">
<div id="modal-here" class="modal-content"></div>
</div>
</div>
Expand Down

0 comments on commit 3b4963b

Please sign in to comment.