GSMEthesis commited on
Commit
f6ba018
·
verified ·
1 Parent(s): 176eaf9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -14
app.py CHANGED
@@ -72,6 +72,7 @@ html, body, .stApp {
72
  width: 475px !important;
73
  height: 667px !important;
74
  margin: 0 auto !important;
 
75
  border: 12px solid #000 !important;
76
  border-radius: 40px !important;
77
  box-shadow: 0 0 0 6px #666,
@@ -533,20 +534,6 @@ h3 {
533
  </style>
534
  """, unsafe_allow_html=True)
535
 
536
- st.components.v1.html("""
537
- <script>
538
- document.addEventListener('DOMContentLoaded', function() {
539
- const container = document.querySelector('[data-testid="stAppViewContainer"]');
540
- if (container && window.innerWidth >= 768) {
541
- container.style.padding = '5px';
542
- container.querySelectorAll('*').forEach(el => {
543
- el.style.margin = '0';
544
- el.style.padding = '0';
545
- });
546
- }
547
- });
548
- </script>
549
- """)
550
 
551
 
552
  # ========== توابع اصلی ==========
 
72
  width: 475px !important;
73
  height: 667px !important;
74
  margin: 0 auto !important;
75
+ padding: 15px 5px !important;
76
  border: 12px solid #000 !important;
77
  border-radius: 40px !important;
78
  box-shadow: 0 0 0 6px #666,
 
534
  </style>
535
  """, unsafe_allow_html=True)
536
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
537
 
538
 
539
  # ========== توابع اصلی ==========