Skip to content
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
17 changes: 17 additions & 0 deletions ui/medex_ui/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -2271,6 +2271,23 @@ def dosage_calculator_panel() -> rx.Component:
),
rx.fragment(),
),
# Inline dosage result display
rx.cond(
MedeXState.dosage_result != "",
rx.box(
rx.markdown(
MedeXState.dosage_result,
color=THEME.TEXT_PRIMARY,
),
padding=Space.S4,
border_radius=Radius.MD,
background=THEME.PRIMARY_50,
border=f"1px solid {THEME.PRIMARY_200}",
width="100%",
margin_top=Space.S2,
),
rx.fragment(),
),
# Artifact Catalog Grid for Dosage
dosage_artifacts_grid(),
gap=Space.S4,
Expand Down
Loading