Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load NotificationArea stylesheet like other components #7643

Merged
merged 1 commit into from
Jan 21, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading