Skip to content

Commit

Permalink
Load NotificationArea stylesheet like other components
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Jan 21, 2025
1 parent 6e1ca72 commit 257b455
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions panel/io/notifications.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from ..util import classproperty
from .datamodel import _DATA_MODELS, construct_data_model
from .document import create_doc_if_none_exists
from .resources import CSS_URLS, bundled_files, get_dist_path
from .resources import CDN_DIST, CSS_URLS, bundled_files
from .state import state

if TYPE_CHECKING:
Expand Down Expand Up @@ -180,9 +180,9 @@ def __js_skip__(cls):

@classproperty
def __css__(cls):
return bundled_files(cls, 'css') + [
f"{get_dist_path()}css/notifications.css"
]
return bundled_files(cls, 'css')

_stylesheets = [f"{CDN_DIST}css/notifications.css"]

_template = ""

Expand Down

0 comments on commit 257b455

Please sign in to comment.