BhumikaMak commited on
Commit
42728c4
·
verified ·
1 Parent(s): ed32515

resolve conflicting styles from Gradio's default classes.

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -89,15 +89,15 @@ body {
89
  .custom-button {
90
  background-color: #800000;
91
  color: white;
92
- font-size: 12px; /* Smaller font size */
93
- width: auto; /* Automatically fit content */
94
- min-width: 80px; /* Set a minimum width */
95
- height: 35px; /* Reduced height */
96
  border-radius: 6px; /* Slightly rounded corners */
97
- padding: 0 10px; /* Add horizontal padding for content */
98
  cursor: pointer;
99
  text-align: center;
100
- display: inline-block; /* Ensure proper sizing */
 
101
  }
102
 
103
 
 
89
  .custom-button {
90
  background-color: #800000;
91
  color: white;
92
+ font-size: 12px; /* Small font size */
93
+ width: 100px !important; /* Fixed width */
94
+ height: 35px !important; /* Fixed height */
 
95
  border-radius: 6px; /* Slightly rounded corners */
96
+ padding: 0 !important; /* Remove extra padding */
97
  cursor: pointer;
98
  text-align: center;
99
+ margin: 0 auto; /* Center within its container */
100
+ box-sizing: border-box; /* Ensure consistent sizing */
101
  }
102
 
103