File size: 569 Bytes
53787bb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import streamlit as st

def hide_sync_button():
    st.markdown(
        """
                    <style>
                    .element-container:nth-of-type(1) button {
                    display: none;
                    }
                    </style>
            """,
            unsafe_allow_html=True,
        )
        
def unhide_sync_button():
    st.markdown(
        """
            <style>
            element-container:nth-of-type(1) button {
            display: inline;
            }
            </style>
        """,
        unsafe_allow_html=True,
    )