Skip to content

Commit

Permalink
Merge pull request #428 from GooeyAI/submit_zindex_fix
Browse files Browse the repository at this point in the history
Fix z-index issue for Sticky Submit bar
  • Loading branch information
anish-work authored Aug 14, 2024
2 parents d424854 + 05a721f commit 8c748ed
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 8c748ed

Please sign in to comment.