Skip to content

Commit

Permalink
Fix martor dark style
Browse files Browse the repository at this point in the history
  • Loading branch information
int-y1 authored and quantum5 committed Dec 25, 2024
1 parent 97eb1ad commit 4a34ad3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
7 changes: 3 additions & 4 deletions judge/widgets/martor.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,14 @@

class MartorWidget(OldMartorWidget):
class Media:
css = {
'all': ['martor-description.css'],
}
js = ['martor-mathjax.js']


class AdminMartorWidget(OldAdminMartorWidget):
UPLOADS_ENABLED = True

class Media:
css = MartorWidget.Media.css
css = {
'all': ['martor-description.css'],
}
js = ['admin/js/jquery.init.js', 'martor-mathjax.js']
1 change: 1 addition & 0 deletions resources/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
@import "ranks";
@import "users";
@import "content-description";
@import "martor-description";
@import "widgets";
@import "featherlight";
@import "comments";
Expand Down

0 comments on commit 4a34ad3

Please sign in to comment.