Skip to content

Commit

Permalink
fix(css): markdown styles not overwritten in amp pages
Browse files Browse the repository at this point in the history
  • Loading branch information
sudkumar committed Feb 24, 2020
1 parent 96620d5 commit f623b44
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
6 changes: 4 additions & 2 deletions src/_includes/components/grid.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ function container(content) {
<style>
.container {
max-width: 970px;
padding: 0 20px;
margin: 0 auto;
padding-left: 20px;
padding-right: 20px;
margin-left: auto;
margin-right: auto;
}
</style>`
}
Expand Down
4 changes: 3 additions & 1 deletion src/privacy-policies.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ title: Privacy Policies

<style>
.main-content {
padding: 40px 0;
line-height: 1.7;
padding-top: 40px;
padding-bottom: 40px;
}
.main-content p {
color: #333;
Expand Down Expand Up @@ -190,3 +191,4 @@ contact us at <a href="mailto:{{ site.supportEmail }}">{{ site.supportEmail }}
This document was last updated on 9th July, 2019

</div>

4 changes: 3 additions & 1 deletion src/terms-and-conditions.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ title: Terms and Conditions

<style>
.main-content {
padding: 40px 0;
line-height: 1.7;
padding-top: 40px;
padding-bottom: 40px;
}
.main-content p {
color: #333;
Expand All @@ -31,6 +32,7 @@ title: Terms and Conditions
.main-content li + li {
margin-top: 20px;
}

</style>
<div class="container main-content">

Expand Down

1 comment on commit f623b44

@vercel
Copy link

@vercel vercel bot commented on f623b44 Feb 24, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.