Skip to content

Commit

Permalink
fix: sticky submit bar zIndex issue
Browse files Browse the repository at this point in the history
  • Loading branch information
anish-work committed Aug 12, 2024
1 parent 0442989 commit 05a721f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions daras_ai_v2/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1308,9 +1308,7 @@ def get_credits_click_url(self):
return "/account/"

def get_submit_container_props(self):
return dict(
className="position-sticky bottom-0 bg-white", style=dict(zIndex=100)
)
return dict(className="position-sticky bottom-0 bg-white")

def render_submit_button(self, key="--submit-1"):
with gui.div(**self.get_submit_container_props()):
Expand Down

0 comments on commit 05a721f

Please sign in to comment.