Skip to content

Commit

Permalink
Fixed padding on Twitter icon
Browse files Browse the repository at this point in the history
  • Loading branch information
elrumo committed Mar 19, 2021
1 parent 98df0d2 commit 22f38f0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
9 changes: 5 additions & 4 deletions website/macos-big-sur-icons/src/components/Header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
href="https://www.paypal.com/donate/?hosted_button_id=5PMNX4DPW83KN"
@click="logDonation('header')"
>
<span>Donate</span>
<span>Buy me a coffee</span>
</a>
</div>

Expand Down Expand Up @@ -185,18 +185,19 @@
<div>
<a rel="noopener" class="" target="_blank" href="https://www.paypal.com/donate/?hosted_button_id=5PMNX4DPW83KN" @click="logDonation('header')">
<button is="coral-button">
<span>Donate</span>
<span>Buy me a coffee</span>
</button>
</a>
</div>

<!-- Submit icons -->
<div>
<div class="hide-on-shrink">
<button is="coral-button" variant="cta" @click="showDialog('submitIcon')">
<span>Submit icons</span>
</button>
</div>


<!-- Twitter -->
<a href="https://twitter.com/elrumo" target="_blank" rel="noopener">
<img :src="icons.twitter" class="header-item header-icon" alt="">
</a>
Expand Down
8 changes: 6 additions & 2 deletions website/macos-big-sur-icons/src/components/app.less
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ main{

.header-icon{
height: 22px;
padding: 0px 20px;
padding: 0px 0px 0px 20px;
cursor: pointer;
position: relative;
top: 50%;
Expand Down Expand Up @@ -1144,7 +1144,7 @@ main{

}

@media only screen and (max-width: 966px){
@media only screen and (max-width: 1024px){

.card-wrapper{
max-width: 350px;
Expand All @@ -1163,6 +1163,10 @@ main{
grid-template-columns: 1.2fr 1.2fr;
padding-top: 0px;
}

.hide-on-shrink{
display: none;
}

}

Expand Down

1 comment on commit 22f38f0

@vercel
Copy link

@vercel vercel bot commented on 22f38f0 Mar 19, 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.