Skip to content

Commit

Permalink
Left aligned hero on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
elrumo committed Mar 15, 2021
1 parent b4219b2 commit 9a0f0f0
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
6 changes: 5 additions & 1 deletion website/macos-big-sur-icons/src/components/Hero.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<p class="coral-Body--L w-100 body-text">
To contribute, download free icon templates from the
<router-link to="/resources">
<b> resources page. </b>
<span class="underline"> resources page. </span>
</router-link>
</p>

Expand Down Expand Up @@ -149,6 +149,8 @@ export default {
},
mounted: function() {
// let adId = document.getElementById("_custom_")
(function() {
if (typeof _bsa !== 'undefined' && _bsa) {
_bsa.init('custom', 'CVADC53U', 'placement:demo',
Expand All @@ -164,6 +166,8 @@ export default {
);
}
})();
},
computed: {
Expand Down
11 changes: 10 additions & 1 deletion website/macos-big-sur-icons/src/components/app.less
Original file line number Diff line number Diff line change
Expand Up @@ -1162,7 +1162,16 @@ main{
display: grid;
grid-template-columns: 1fr;
padding: 0px 0px 20px 0px;
margin-top: 0px;
// margin-top: 0px;
}

.hero-text-area{
text-align: left;
margin: 0px;
}

.body-text{
margin-left: 0px;
}
}

Expand Down

1 comment on commit 9a0f0f0

@vercel
Copy link

@vercel vercel bot commented on 9a0f0f0 Mar 15, 2021

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.