adamelliotfields commited on
Commit
3691b33
β€’
1 Parent(s): c02c46c

Fix heading on mobile (#6)

Browse files

- Fix heading on mobile (9dbd86796715dcd5b1b8b20b39369b8db7d1b177)

0_🏠_Home.py CHANGED
@@ -36,7 +36,7 @@ st.html("""
36
  }
37
  </style>
38
  <div style="display: flex; align-items: center; gap: 0.75rem">
39
- <h1 style="padding: 0; margin-bottom: 0.5rem">API Inference</h1>
40
  <span class="pro-badge">PRO</span>
41
  </div>
42
  <p>Inference on Huggingface, Perplexity, and Fal ⚑</p>
 
36
  }
37
  </style>
38
  <div style="display: flex; align-items: center; gap: 0.75rem">
39
+ <h1>API Inference</h1>
40
  <span class="pro-badge">PRO</span>
41
  </div>
42
  <p>Inference on Huggingface, Perplexity, and Fal ⚑</p>
pages/1_πŸ’¬_Text_Generation.py CHANGED
@@ -119,7 +119,7 @@ for param in preset["parameters"]:
119
 
120
  # heading
121
  st.html("""
122
- <h1 style="padding: 0; margin-bottom: 0.5rem">Text Generation</h1>
123
  <p>Chat with large language models.</p>
124
  """)
125
 
 
119
 
120
  # heading
121
  st.html("""
122
+ <h1>Text Generation</h1>
123
  <p>Chat with large language models.</p>
124
  """)
125
 
pages/2_🎨_Text_to_Image.py CHANGED
@@ -80,7 +80,7 @@ model = st.sidebar.selectbox(
80
 
81
  # heading
82
  st.html("""
83
- <h1 style="padding: 0; margin-bottom: 0.5rem">Text to Image</h1>
84
  <p>Generate an image from a text prompt.</p>
85
  """)
86
 
 
80
 
81
  # heading
82
  st.html("""
83
+ <h1>Text to Image</h1>
84
  <p>Generate an image from a text prompt.</p>
85
  """)
86