GSMEthesis commited on
Commit
2df2897
·
verified ·
1 Parent(s): 9d80da5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -4
app.py CHANGED
@@ -76,25 +76,36 @@ html, body, .stApp {
76
  box-shadow: 0 0 0 6px #666, 0 0 30px rgba(0,0,0,0.5) !important;
77
  background-color: var(--background) !important;
78
  color: var(--text) !important;
79
- overflow-y: auto !important; /* اضافه کردن اسکرول عمودی */
80
  overflow-x: hidden !important;
81
- scrollbar-width: thin !important; /* برای مرورگرهای فایرفاکس */
82
- scrollbar-color: #6a0dad #f0f0f0 !important; /* برای مرورگرهای فایرفاکس */
 
83
  }
84
 
85
- /* استایل اسکرولبار برای مرورگرهای وبکیت (کروم، اج، سافاری) */
86
  [data-testid="stAppViewContainer"]::-webkit-scrollbar {
87
  width: 6px !important;
 
 
88
  }
89
 
90
  [data-testid="stAppViewContainer"]::-webkit-scrollbar-track {
91
  background: #f0f0f0 !important;
92
  border-radius: 3px !important;
 
93
  }
94
 
95
  [data-testid="stAppViewContainer"]::-webkit-scrollbar-thumb {
96
  background-color: #6a0dad !important;
97
  border-radius: 3px !important;
 
 
 
 
 
 
 
98
  }
99
 
100
  /* دکمه هوم مجازی */
 
76
  box-shadow: 0 0 0 6px #666, 0 0 30px rgba(0,0,0,0.5) !important;
77
  background-color: var(--background) !important;
78
  color: var(--text) !important;
79
+ overflow-y: auto !important;
80
  overflow-x: hidden !important;
81
+ scrollbar-width: thin !important;
82
+ scrollbar-color: #6a0dad #f0f0f0 !important;
83
+ direction: rtl !important; /* این خط اضافه شده */
84
  }
85
 
86
+ /* استایل اسکرولبار برای مرورگرهای وبکیت */
87
  [data-testid="stAppViewContainer"]::-webkit-scrollbar {
88
  width: 6px !important;
89
+ right: 0 !important; /* این خط اضافه شده */
90
+ left: auto !important; /* این خط اضافه شده */
91
  }
92
 
93
  [data-testid="stAppViewContainer"]::-webkit-scrollbar-track {
94
  background: #f0f0f0 !important;
95
  border-radius: 3px !important;
96
+ margin: 10px 0 !important; /* این خط اضافه شده */
97
  }
98
 
99
  [data-testid="stAppViewContainer"]::-webkit-scrollbar-thumb {
100
  background-color: #6a0dad !important;
101
  border-radius: 3px !important;
102
+ margin-left: 10px !important; /* این خط اضافه شده */
103
+ }
104
+
105
+ /* تنظیم مجدد جهت برای محتوای داخلی */
106
+ [data-testid="stAppViewContainer"] > * {
107
+ direction: ltr !important;
108
+ text-align: right !important;
109
  }
110
 
111
  /* دکمه هوم مجازی */