Nazneen Rajani commited on
Commit
e698fd7
·
1 Parent(s): 6c74904

Update error_analysis/utils/style_hacks.py

Browse files
Files changed (1) hide show
  1. error_analysis/utils/style_hacks.py +11 -0
error_analysis/utils/style_hacks.py CHANGED
@@ -9,11 +9,22 @@ def init_style():
9
  """
10
  <style>
11
  /* Side Bar */
 
 
 
 
 
 
 
 
12
  .css-1outpf7 {
13
  background-color:rgb(254 244 219);
14
  width:10rem;
15
  padding:10px 10px 10px 10px;
16
  }
 
 
 
17
  /* Main Panel*/
18
  .css-18e3th9 {
19
  padding:10px 10px 10px -200px;
 
9
  """
10
  <style>
11
  /* Side Bar */
12
+ [data-testid="stSidebar"][aria-expanded="true"] > div:first-child {
13
+ width: 150px;
14
+ margin-left: -500px;
15
+ }
16
+ [data-testid="stSidebar"][aria-expanded="false"] > div:first-child {
17
+ width: 150px;
18
+ margin-left: -500px;
19
+ }
20
  .css-1outpf7 {
21
  background-color:rgb(254 244 219);
22
  width:10rem;
23
  padding:10px 10px 10px 10px;
24
  }
25
+ [data-testid="stSidebar"]{
26
+ flex-basis: unset;
27
+ }
28
  /* Main Panel*/
29
  .css-18e3th9 {
30
  padding:10px 10px 10px -200px;