-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
changed text_input to text_area to support multiple lines; restructur…
…ed src.header; updated README.md
- Loading branch information
Showing
6 changed files
with
91 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import streamlit as st | ||
|
||
# render logo | ||
def render(): | ||
st.markdown( | ||
f""" | ||
<style> | ||
[data-testid="stSidebar"] {{ | ||
background-image: url(app/static/logo.png); | ||
background-repeat: no-repeat; | ||
background-position: 20px 20px; | ||
background-size: auto 80px; | ||
}} | ||
</style> | ||
""", | ||
unsafe_allow_html=True, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
import streamlit as st | ||
|
||
# render styles | ||
def render(): | ||
st.markdown( | ||
f""" | ||
<style> | ||
[data-testid="stSidebar"] [data-testid="stVerticalBlock"] {{ | ||
padding-top: 20px; | ||
}} | ||
[data-testid="stForm"] {{ | ||
border: none; | ||
padding-left: 0px; | ||
}} | ||
[data-testid="stMarkdownContainer"] {{ | ||
font-weight: normal; | ||
}} | ||
[data-testid="stMarkdown"] p, | ||
[data-testid="stMarkdown"] ol {{ | ||
background-color: #444654; | ||
color: #ced2d8; | ||
margin: 0px; | ||
padding: 20px; | ||
}} | ||
[data-testid="stMarkdown"] [data-testid="stCodeBlock"] {{ | ||
background-color: #444654; | ||
color: #ced2d8; | ||
margin: 0px; | ||
padding-left: 10px; | ||
padding-right: 10px; | ||
}} | ||
[data-testid="stCodeBlock"] {{ | ||
margin: 0px; | ||
padding-left: 10px; | ||
}} | ||
.st-es {{ | ||
min-height: 55px; | ||
}} | ||
</style> | ||
""", | ||
unsafe_allow_html=True, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters