GSMEthesis commited on
Commit
51b6bf6
·
verified ·
1 Parent(s): b4b0596

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -685,6 +685,8 @@ h3 {
685
  max-width: 80px !important;
686
  }
687
  }
 
 
688
  /* تنظیم justify برای تمام متن‌ها */
689
  [data-testid="stAppViewContainer"] * {
690
  text-align: justify !important;
@@ -692,7 +694,6 @@ h3 {
692
  }
693
 
694
  /* استثناها برای عناصری که نباید justify شوند */
695
- [data-testid="stAppViewContainer"] .stButton>button,
696
  [data-testid="stAppViewContainer"] .stRadio>label,
697
  [data-testid="stAppViewContainer"] .stCheckbox>label,
698
  [data-testid="stAppViewContainer"] .stSelectbox>label,
@@ -703,6 +704,7 @@ h3 {
703
  [data-testid="stAppViewContainer"] textarea,
704
  [data-testid="stAppViewContainer"] .rahyar-title,
705
  [data-testid="stAppViewContainer"] .rahyar-subtitle {
 
706
  text-align: right !important;
707
  text-justify: auto !important;
708
  }
@@ -714,6 +716,7 @@ h3 {
714
  [data-testid="stAppViewContainer"] h4,
715
  [data-testid="stAppViewContainer"] h5,
716
  [data-testid="stAppViewContainer"] h6 {
 
717
  text-align: right !important;
718
  }
719
 
 
685
  max-width: 80px !important;
686
  }
687
  }
688
+
689
+
690
  /* تنظیم justify برای تمام متن‌ها */
691
  [data-testid="stAppViewContainer"] * {
692
  text-align: justify !important;
 
694
  }
695
 
696
  /* استثناها برای عناصری که نباید justify شوند */
 
697
  [data-testid="stAppViewContainer"] .stRadio>label,
698
  [data-testid="stAppViewContainer"] .stCheckbox>label,
699
  [data-testid="stAppViewContainer"] .stSelectbox>label,
 
704
  [data-testid="stAppViewContainer"] textarea,
705
  [data-testid="stAppViewContainer"] .rahyar-title,
706
  [data-testid="stAppViewContainer"] .rahyar-subtitle {
707
+ direction: rtl !important;
708
  text-align: right !important;
709
  text-justify: auto !important;
710
  }
 
716
  [data-testid="stAppViewContainer"] h4,
717
  [data-testid="stAppViewContainer"] h5,
718
  [data-testid="stAppViewContainer"] h6 {
719
+ direction: rtl !important;
720
  text-align: right !important;
721
  }
722