Skip to content

Commit

Permalink
fix: don't mess with style of empty page
Browse files Browse the repository at this point in the history
  • Loading branch information
mchilvers committed Apr 9, 2024
1 parent aa59a2e commit 3750ac4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/builder/src/python/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ def _manage_empty_element_in_container(self, container):

from invent.ui.page import Page

if not isinstance(self, Page):
if not isinstance(container, Page):
container.element.classList.add("invent-empty")

container.element.appendChild(container._empty_element)
Expand Down

0 comments on commit 3750ac4

Please sign in to comment.