bngoc commited on
Commit
8e21f7e
·
1 Parent(s): d53b3ec

sửa feature footer

Browse files
Files changed (1) hide show
  1. app.py +11 -5
app.py CHANGED
@@ -327,6 +327,8 @@ custom_css = """
327
  padding: 15px !important;
328
  margin: 15px 0 !important;
329
  box-shadow: 0 8px 32px rgba(12, 83, 135, 0.25), 0 4px 16px rgba(0, 0, 0, 0.1) !important;
 
 
330
  min-height: 400px !important;
331
  position: relative !important;
332
  overflow: hidden !important;
@@ -337,14 +339,15 @@ custom_css = """
337
  .plot-container .plotly-graph-div {
338
  position: relative !important;
339
  width: 100% !important;
340
- height: auto !important;
 
341
  margin: 0 !important;
342
  padding: 0 !important;
343
  border-radius: 8px !important;
344
  background: rgba(255, 255, 255, 0.98) !important;
345
  border: none !important;
346
  box-shadow: none !important;
347
- overflow: visible !important;
348
  }
349
 
350
  /* Remove additional containers that cause nesting */
@@ -382,14 +385,17 @@ div[data-title="Plotly toolbar"],
382
  /* Cải thiện spacing cho text và labels - tránh dính chữ */
383
  .plot-container .plotly-graph-div .svg-container {
384
  pointer-events: auto !important;
385
- overflow: visible !important;
386
  padding: 10px !important;
 
 
387
  }
388
 
389
  .plot-container .plotly-graph-div .main-svg {
390
  max-width: 100% !important;
391
- height: auto !important;
392
- overflow: visible !important;
 
393
  padding: 5px !important;
394
  }
395
 
 
327
  padding: 15px !important;
328
  margin: 15px 0 !important;
329
  box-shadow: 0 8px 32px rgba(12, 83, 135, 0.25), 0 4px 16px rgba(0, 0, 0, 0.1) !important;
330
+ height: 550px !important;
331
+ max-height: 650px !important;
332
  min-height: 400px !important;
333
  position: relative !important;
334
  overflow: hidden !important;
 
339
  .plot-container .plotly-graph-div {
340
  position: relative !important;
341
  width: 100% !important;
342
+ height: 500px !important;
343
+ max-height: 600px !important;
344
  margin: 0 !important;
345
  padding: 0 !important;
346
  border-radius: 8px !important;
347
  background: rgba(255, 255, 255, 0.98) !important;
348
  border: none !important;
349
  box-shadow: none !important;
350
+ overflow: hidden !important;
351
  }
352
 
353
  /* Remove additional containers that cause nesting */
 
385
  /* Cải thiện spacing cho text và labels - tránh dính chữ */
386
  .plot-container .plotly-graph-div .svg-container {
387
  pointer-events: auto !important;
388
+ overflow: hidden !important;
389
  padding: 10px !important;
390
+ height: 100% !important;
391
+ max-height: 480px !important;
392
  }
393
 
394
  .plot-container .plotly-graph-div .main-svg {
395
  max-width: 100% !important;
396
+ height: 100% !important;
397
+ max-height: 500px !important;
398
+ overflow: hidden !important;
399
  padding: 5px !important;
400
  }
401