Skip to content

Commit 900d48e

Browse files
authored
Fix: Scope training page CSS to prevent footer layout issues (#51355)
* Fix: Scope training page CSS to prevent footer layout issues - Updated selectors in training.css to target only training-specific sections, avoiding global application to elements like the site footer - Ensured footer and other global components render correctly on the training page. * chore: remove whitespaces * chore: removing whitespaces * chore: remove whitespace trim * chore: clean up training.css by removing unused '.col' class
1 parent 4352bf3 commit 900d48e

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

static/css/training.css

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -72,15 +72,6 @@ body.cid-training #logo-cks {
7272

7373

7474

75-
body.cid-training .col {
76-
display: flex;
77-
flex-direction: row;
78-
float: left;
79-
margin: 1% 0 1% 1.6%;
80-
}
81-
82-
body.cid-training .col:first-child { margin-left: 0; }
83-
8475
body.cid-training .col-container {
8576
display: flex; /* Make the container element behave like a table */
8677
flex-direction: row;
@@ -199,7 +190,6 @@ body.cid-training #get-certified .col-nav a.button {
199190
/* GO FULL WIDTH AT LESS THAN 480 PIXELS */
200191

201192
@media only screen and (max-width: 480px) {
202-
body.cid-training .col { margin: 1% 0 1% 0%;}
203193
body.cid-training .col-container { display: flex; flex-direction: column; }
204194
body.cid-training .cta-img-container{display: flex;flex-direction: column;}
205195
body.cid-training .col-container .col-nav:last-child{width: 100%;}

0 commit comments

Comments
 (0)