Skip to content

Commit bea7737

Browse files
committed
Some improvementvements
1 parent e9a6184 commit bea7737

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

duck/html/components/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,8 +363,8 @@ def __init__(
363363
'_component_attr_protection_targets',
364364
'_event_bindings',
365365
'_document_event_bindings',
366-
'fullpage_reload_headers',
367366
'_prev_states',
367+
'fullpage_reload_headers',
368368
'compatibility_keys',
369369
'kwargs',
370370
] # __style, __properties, __children are already copied independantly, no need for them to be in here.

duck/html/components/modal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def on_create(self):
4545
"position": "fixed",
4646
"top": "0",
4747
"left": "0",
48-
"width": "100vw",
48+
"width": "100%",
4949
"height": "100vh",
5050
"background": "rgba(0, 0, 0, 0.68)", # Slightly stronger dark overlay for dark modals
5151
"z-index": "1000",

0 commit comments

Comments
 (0)