Spaces:
Sleeping
Sleeping
siddhartharya
commited on
Update app.css
Browse files
app.css
CHANGED
@@ -10,6 +10,8 @@ body {
|
|
10 |
font-family: 'Roboto', sans-serif;
|
11 |
margin: 0 auto;
|
12 |
padding: 20px;
|
|
|
|
|
13 |
}
|
14 |
|
15 |
.gr-button {
|
@@ -39,7 +41,10 @@ h1 {
|
|
39 |
border-radius: 4px;
|
40 |
margin: 10px 0;
|
41 |
padding: 15px;
|
42 |
-
box-
|
|
|
|
|
|
|
43 |
}
|
44 |
|
45 |
.card-content h3 {
|
@@ -56,6 +61,7 @@ h1 {
|
|
56 |
.card-content a {
|
57 |
color: #1E88E5;
|
58 |
text-decoration: none;
|
|
|
59 |
}
|
60 |
|
61 |
.card-content a:hover {
|
|
|
10 |
font-family: 'Roboto', sans-serif;
|
11 |
margin: 0 auto;
|
12 |
padding: 20px;
|
13 |
+
max-width: 100%; /* Ensure the container doesn't exceed the viewport width */
|
14 |
+
overflow-x: hidden; /* Hide horizontal overflow */
|
15 |
}
|
16 |
|
17 |
.gr-button {
|
|
|
41 |
border-radius: 4px;
|
42 |
margin: 10px 0;
|
43 |
padding: 15px;
|
44 |
+
box-sizing: border-box; /* Include padding and border in the total width and height */
|
45 |
+
word-wrap: break-word; /* Break long words to prevent overflow */
|
46 |
+
overflow-wrap: break-word; /* For better compatibility */
|
47 |
+
max-width: 100%; /* Ensure cards don't exceed the container width */
|
48 |
}
|
49 |
|
50 |
.card-content h3 {
|
|
|
61 |
.card-content a {
|
62 |
color: #1E88E5;
|
63 |
text-decoration: none;
|
64 |
+
word-break: break-all; /* Break long URLs to prevent overflow */
|
65 |
}
|
66 |
|
67 |
.card-content a:hover {
|