ChenyuRabbitLove commited on
Commit
e062738
1 Parent(s): 273f76c

fix gallery share button bug

Browse files
Files changed (1) hide show
  1. app.py +4 -14
app.py CHANGED
@@ -9,20 +9,6 @@ with open('achievement.html', 'r', encoding='utf-8') as file:
9
 
10
  html = "<div style='max-width:100%; max-height:360px; overflow:auto'>" + html
11
 
12
- # border: 10px solid;
13
- # border-image-source: linear-gradient(45deg, #8c8c8c, #f2f2f2, #8c8c8c, #f2f2f2);
14
- # border-image-slice: 1;
15
- # border-image-width: 10px;
16
- # border-image-repeat: round;
17
- # padding: 20px;
18
- # width: 200px;
19
- # height: 200px;
20
- # display: flex;
21
- # align-items: center;
22
- # justify-content: center;
23
- # background-color: #f2f2f2;
24
- # box-shadow: 0 0 10px rgba(0,0,0,0.3);
25
-
26
  css="""
27
 
28
  #user_avatar {
@@ -92,6 +78,10 @@ css="""
92
  [data-testid="block-label"] {
93
  opacity: 0;
94
  }
 
 
 
 
95
  """
96
 
97
  # start of gradio interface
 
9
 
10
  html = "<div style='max-width:100%; max-height:360px; overflow:auto'>" + html
11
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  css="""
13
 
14
  #user_avatar {
 
78
  [data-testid="block-label"] {
79
  opacity: 0;
80
  }
81
+
82
+ [aria-label="Share"] {
83
+ opacity: 0;
84
+ }
85
  """
86
 
87
  # start of gradio interface