Skip to content

Commit 177e6cd

Browse files
committed
Move home page card styles
1 parent 4cbc2b7 commit 177e6cd

File tree

1 file changed

+13
-17
lines changed

1 file changed

+13
-17
lines changed

src/css/custom.css

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,19 @@ div[class^='announcementBar'] {
6767

6868
/* Home page cards */
6969

70+
html, body { /* Fix for horizontal scrolling issue */
71+
overflow-x: hidden;
72+
max-width: 100%;
73+
}
74+
75+
* { /* Ensure all elements stay within their containers */
76+
box-sizing: border-box;
77+
}
78+
79+
table, pre, code, img, iframe { /* Fix for common elements that might cause overflow */
80+
max-width: 100%;
81+
}
82+
7083
.card {
7184
border: 1px solid #ebedf0;
7285
}
@@ -81,23 +94,6 @@ div[class^='announcementBar'] {
8194
text-decoration: none;
8295
}
8396

84-
85-
/* Fix for horizontal scrolling issue */
86-
html, body {
87-
overflow-x: hidden;
88-
max-width: 100%;
89-
}
90-
91-
/* Ensure all elements stay within their containers */
92-
* {
93-
box-sizing: border-box;
94-
max-width: 100%;
95-
}
96-
97-
/* Fix for common elements that might cause overflow */
98-
table, pre, code, img, iframe {
99-
max-width: 100%;
100-
}
10197
.grid-container {
10298
display: flex;
10399
flex-direction: column;

0 commit comments

Comments
 (0)