Laramie2 commited on
Commit
841fc17
·
verified ·
1 Parent(s): 8dc5b17

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -293,7 +293,7 @@ body, .gradio-container {
293
  box-shadow: 0 4px 24px rgba(168, 85, 247, 0.08) !important;
294
  backdrop-filter: blur(10px);
295
  transition: all 0.3s ease;
296
- padding: 24px 24px !important; /* 增加边缘与内层内容的间距 */
297
  margin-bottom: 20px !important; /* 模块之间的垂直间距 */
298
  display: flex !important;
299
  flex-direction: column !important;
@@ -368,6 +368,9 @@ body, .gradio-container {
368
  color: white !important; font-weight: 700 !important; border: none !important;
369
  height: 50px !important; /* 调小:60 -> 50 */
370
  width: 80% !important;
 
 
 
371
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease !important;
372
  box-shadow: 0 4px 15px rgba(126, 34, 206, 0.3) !important;
373
  cursor: pointer !important;
 
293
  box-shadow: 0 4px 24px rgba(168, 85, 247, 0.08) !important;
294
  backdrop-filter: blur(10px);
295
  transition: all 0.3s ease;
296
+ padding: 24px 24px !important; /* 边缘与内层内容的间距 */
297
  margin-bottom: 20px !important; /* 模块之间的垂直间距 */
298
  display: flex !important;
299
  flex-direction: column !important;
 
368
  color: white !important; font-weight: 700 !important; border: none !important;
369
  height: 50px !important; /* 调小:60 -> 50 */
370
  width: 80% !important;
371
+ margin-left: auto !important; /* 新增:自动左边距 */
372
+ margin-right: auto !important; /* 新增:自动右边距 */
373
+ display: block !important; /* 新增:确保块级元素 */
374
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease !important;
375
  box-shadow: 0 4px 15px rgba(126, 34, 206, 0.3) !important;
376
  cursor: pointer !important;