Skip to content

Commit

Permalink
Do not duplicate stylesheets
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Mar 5, 2025
1 parent 7310c94 commit d133eb9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion panel/theme/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,8 @@ def _resolve_stylesheets(cls, value, defining_cls, inherited):
stylesheets.extend(inherited)
continue
resolved = resolve_stylesheet(defining_cls, stylesheet, 'modifiers')
stylesheets.append(resolved)
if resolved not in stylesheets:
stylesheets.append(resolved)
return stylesheets

@classmethod
Expand Down

0 comments on commit d133eb9

Please sign in to comment.