transpolymer commited on
Commit
fa54481
·
verified ·
1 Parent(s): 2038c25

Update login_page.py

Browse files
Files changed (1) hide show
  1. login_page.py +7 -2
login_page.py CHANGED
@@ -95,7 +95,7 @@ def show_login_page():
95
  margin: 0 !important;
96
  padding: 0 !important;
97
  line-height: 1.2 !important;
98
- font-size: 3.5rem !important; /* Increased from 2.5rem to 3.5rem */
99
  }
100
 
101
  .subheading {
@@ -107,8 +107,10 @@ def show_login_page():
107
  line-height: 1.2 !important;
108
  }
109
 
 
 
110
  .stButton > button {
111
- width: 100%;
112
  padding: 12px 0;
113
  font-size: 16px;
114
  background: linear-gradient(90deg, #4B8BBE, #306998);
@@ -120,6 +122,9 @@ def show_login_page():
120
  font-weight: 500;
121
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
122
  margin-top: 10px;
 
 
 
123
  }
124
 
125
  .stButton > button:hover {
 
95
  margin: 0 !important;
96
  padding: 0 !important;
97
  line-height: 1.2 !important;
98
+ font-size: 4.0rem !important; /* Increased from 2.5rem to 3.5rem */
99
  }
100
 
101
  .subheading {
 
107
  line-height: 1.2 !important;
108
  }
109
 
110
+ # Find this CSS class in your show_login_page() function:
111
+
112
  .stButton > button {
113
+ width: 60%; /* Change from 100% to 70% or any desired width */
114
  padding: 12px 0;
115
  font-size: 16px;
116
  background: linear-gradient(90deg, #4B8BBE, #306998);
 
122
  font-weight: 500;
123
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
124
  margin-top: 10px;
125
+ margin-left: auto; /* Add this line to center the button */
126
+ margin-right: auto; /* Add this line to center the button */
127
+ display: block; /* Add this line to make margins work */
128
  }
129
 
130
  .stButton > button:hover {