Customize the set_page_config about page width

Summary

I am utilizing the about page element within the function set_page_config. This is within the menu_items dictionary.
Is there a way to increase the size of the popup that shows up?

Steps to reproduce

Code snippet:

import streamlit as st

st.set_page_config(
    page_title="Ex-stream-ly Cool App",
    page_icon="🧊",
    layout="wide",
    initial_sidebar_state="expanded",
    menu_items={
        'Get Help': 'https://www.extremelycoolapp.com/help',
        'Report a bug': "https://www.extremelycoolapp.com/bug",
        'About': "# This is a header. This is an *extremely* cool app!"
    }
)

If applicable, please provide the steps we should take to reproduce the error or specified behavior.

Expected behavior:

Have the ability to increase the size of that popup window.

Actual behavior:

Stuck to a standard small size

Debug info

  • Streamlit version: 1.25.0
  • Python version: 3.8.10
  • Using PyEnv?
  • OS version: Windows 10
  • Browser version: Chrome

Requirements file

streamlit==1.25.0

Links

  • Link to your GitHub repo:
  • Link to your deployed app:

Additional information

If needed, add any other context about the problem here.

It could be targeted using CSS modifiers:

Before:

After:

Code:
st.markdown(
    """
    <style>
    [aria-label="dialog"]{
        width: 90%;
        background-color: pink;
    }
    </style>
    """, unsafe_allow_html=True
)

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.