fzoll commited on
Commit
f3f7802
·
1 Parent(s): 1df2a21

Correcting the multimodal duplication (#29)

Browse files

- Keep Multimodal Leaderboard at top level with Document indented below (24720a9ce2d612cee55145ae95ff0e830d877b81)

Files changed (1) hide show
  1. app.py +10 -0
app.py CHANGED
@@ -36,6 +36,16 @@ st.markdown("""
36
  border-left: 2px solid rgba(129, 150, 64, 0.3);
37
  margin-left: 0.75rem;
38
  }
 
 
 
 
 
 
 
 
 
 
39
  </style>
40
  """, unsafe_allow_html=True)
41
 
 
36
  border-left: 2px solid rgba(129, 150, 64, 0.3);
37
  margin-left: 0.75rem;
38
  }
39
+
40
+ /* Hide the Multimodal section header */
41
+ ul[data-testid="stSidebarNavItems"] > div:nth-child(4) > header {
42
+ display: none;
43
+ }
44
+
45
+ /* Indent Document under Multimodal Leaderboard */
46
+ ul[data-testid="stSidebarNavItems"] > div:nth-child(4) > li:nth-child(3) {
47
+ padding-left: 2rem;
48
+ }
49
  </style>
50
  """, unsafe_allow_html=True)
51