Skip to content

Commit

Permalink
Patch - WET-475 - Reduce margins for home page banner (wet-boew#2376)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricokola authored Jun 4, 2024
1 parent f394b64 commit a6a8a2b
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 11 deletions.
2 changes: 1 addition & 1 deletion templates/home/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

/* Home page banner */
.header-rwd {
margin: 2em 0px;
margin: 1em 0px;
}


Expand Down
14 changes: 9 additions & 5 deletions templates/home/api-en.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
{ "title": "GCWeb home", "link": "../index-en.html" }
],
"secondlevel": false,
"dateModified": "2022-09-21",
"dateModified": "2024-05-31",
"share": "true"
}
---
Expand Down Expand Up @@ -42,7 +42,7 @@ <h3>Component list and latest version</h3>
<ul>
<li><a href="#home-page-menu">Home page menu - Version 3.0</a></li>
<li><a href="#home-page-header">Home page header - Version 3.0</a></li>
<li><a href="#home-page-banner">Home page banner - Version 2.0</a></li>
<li><a href="#home-page-banner">Home page banner - Version 2.2</a></li>
<li><a href="#promotional-banner">Promotional banner - Version 2.0</a></li>
<li>Most requested - Version 1.0</li>
<li>Service and information - Version 1.0</li>
Expand Down Expand Up @@ -92,15 +92,19 @@ <h4>Previous versions</h4>
<h3 id="home-page-banner">Home page banner</h3>
<dl>
<dt>Version</dt>
<dd>2.1</dd>
<dd>2.2</dd>
<dt>Updated</dt>
<dd>2024-05-23</dd>
<dd>2024-05-30</dd>
</dl>

<h4>Latest version changes</h4>
<p>The spacing above and below the banner text block is removed on xs and xxs breakpoints.</p>
<p>The top and bottom margins of the class <code>.header-rwd</code> have been reduced by <code>1em</code> to reach a reduction of 20 pixels.</p>

<h4>Previous version</h4>
<details>
<summary>Version 2.1 - 2024-05-23</summary>
<p>The spacing above and below the banner text block is removed on xs and xxs breakpoints.</p>
</details>
<details>
<summary>Version 2.0 - 2019-05-09</summary>
<p>The background image is loaded with the provisional plugin bgimg which set the background image. The background image is hosted in the WMS at this location. <code>https://www.canada.ca/content/dam/canada/carousel/bkg-home-banner.jpg</code>.</p>
Expand Down
14 changes: 9 additions & 5 deletions templates/home/api-fr.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
{ "title": "GCWeb home", "link": "../index-fr.html" }
],
"secondlevel": false,
"dateModified": "2022-09-21",
"dateModified": "2024-05-31",
"share": "true"
}
---
Expand Down Expand Up @@ -44,7 +44,7 @@ <h3>Component list and latest version</h3>
<ul>
<li><a href="#home-page-menu">Home page menu - Version 3.0</a></li>
<li><a href="#home-page-header">Home page header - Version 3.0</a></li>
<li><a href="#home-page-banner">Home page banner - Version 2.0</a></li>
<li><a href="#home-page-banner">Home page banner - Version 2.2</a></li>
<li><a href="#promotional-banner">Promotional banner - Version 2.0</a></li>
<li>Most requested - Version 1.0</li>
<li>Service and information - Version 1.0</li>
Expand Down Expand Up @@ -94,15 +94,19 @@ <h4>Previous versions</h4>
<h3 id="home-page-banner">Home page banner</h3>
<dl>
<dt>Version</dt>
<dd>2.1</dd>
<dd>2.2</dd>
<dt>Updated</dt>
<dd>2024-05-23</dd>
<dd>2024-05-30</dd>
</dl>

<h4>Latest version changes</h4>
<p>The spacing above and below the banner text block is removed on xs and xxs breakpoints.</p>
<p>The top and bottom margins of the class <code>.header-rwd</code> have been reduced by <code>1em</code> to reach a reduction of 20 pixels.</p>

<h4>Previous version</h4>
<details>
<summary>Version 2.1 - 2024-05-23</summary>
<p>The spacing above and below the banner text block is removed on xs and xxs breakpoints.</p>
</details>
<details>
<summary>Version 2.0 - 2019-05-09</summary>
<p>The background image is loaded with the provisional plugin bgimg which set the background image. The background image is hosted in the WMS at this location. <code>https://www.canada.ca/content/dam/canada/carousel/bkg-home-banner.jpg</code>.</p>
Expand Down

0 comments on commit a6a8a2b

Please sign in to comment.