Skip to content

Commit b7fc80d

Browse files
chrisdo1castastrophegithub-actions[bot]heyMP
authored
fix: set margin-top for ctas in footer on mobile (#1667)
* US296521 fix: set margin-top for ctas in footer after the second one. * US296521 - reset margin-top to 0 for CTAs on desktop * fix: fixed z-index issue on demo page. * chore: update changelog Co-authored-by: [ Cassondra ] <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: heyMP <[email protected]>
1 parent 6cdf9a7 commit b7fc80d

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

CHANGELOG-1.x.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 1.10.0 ()
2+
3+
- [](https://github.com/patternfly/patternfly-elements/commit/) fix: set margin-top for ctas in footer on mobile
4+
15
# 1.9.2 (2021-06-01)
26

37
- [225484b](https://github.com/patternfly/patternfly-elements/commit/225484bfcd166f46b515b2500f2f8710fd227e35) fix: pfe-content-set, bring back ID copy from parent to nested item

elements/pfe-navigation/demo/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656

5757
pfe-navigation {
5858
--pfe-navigation__logo--MinWidth: 200px;
59+
z-index: 99;
5960
}
6061

6162
@media (max-width: 440px) {

elements/pfe-navigation/src/pfe-navigation--lightdom.scss

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -453,8 +453,7 @@ pfe-navigation-item {
453453
margin-bottom: 0;
454454
}
455455

456-
>*:nth-child(3),
457-
>*:nth-child(4) {
456+
>*:nth-child(n+3) {
458457
margin-top: 32px;
459458
}
460459
}
@@ -486,8 +485,7 @@ pfe-navigation-item {
486485
-ms-grid-column: 4;
487486
}
488487

489-
>*:nth-child(3),
490-
>*:nth-child(4) {
488+
>*:nth-child(n+3) {
491489
margin-top: 0;
492490
}
493491
}

0 commit comments

Comments
 (0)