fix: render banner link as clickable page_link instead of italic text
This commit is contained in:
parent
081d744699
commit
0aa709b47a
1 changed files with 5 additions and 1 deletions
|
|
@ -520,7 +520,11 @@ if _profile and _profile.wizard_complete:
|
|||
for banner in _pending_banners:
|
||||
_bcol, _bdismiss = st.columns([10, 1])
|
||||
with _bcol:
|
||||
st.info(f"💡 {banner['text']} → _{banner['link_label']}_")
|
||||
_ic, _lc = st.columns([3, 1])
|
||||
_ic.info(f"💡 {banner['text']}")
|
||||
with _lc:
|
||||
st.write("")
|
||||
st.page_link("pages/2_Settings.py", label=banner['link_label'], icon="⚙️")
|
||||
with _bdismiss:
|
||||
st.write("")
|
||||
if st.button("✕", key=f"dismiss_banner_{banner['key']}", help="Dismiss"):
|
||||
|
|
|
|||
Loading…
Reference in a new issue