Skip to content

Commit

Permalink
Fix tag button on safari
Browse files Browse the repository at this point in the history
  • Loading branch information
Jocelyn Badgley (Twipped) committed May 22, 2020
1 parent 99e5b2a commit 61fd1a0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion js/$index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class App extends Component {
<Fragment>
<h3 class="tagged-header">
{caption}
<button type="button" class="btn btn-primary btn-sm" data-toggle="drawer" href="#drawer"><span class="svg-icon"><Icons.Tags /></span><span>&nbsp;Filter By Tag</span></button>
<button type="button" class="btn btn-primary btn-sm" data-toggle="drawer" href="#drawer"><span class="svg-icon"><Icons.Tags /></span><strong>&nbsp;Filter By Tag</strong></button>
</h3>
<div class="card-grid">
{map(posts, (post, i) =>
Expand Down
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ <h2 class="drawer-title">View Posts By Tag</h2>
{{#content "body"}}
<h3 class="tagged-header">
<span>Latest Posts</span>
<button type="button" class="btn btn-primary btn-sm" data-toggle="drawer" href="#drawer">{{icon 'tags'}}<span>&nbsp;Filter By Tag</span></button>
<button type="button" class="btn btn-primary btn-sm" data-toggle="drawer" href="#drawer">{{icon 'tags'}}<strong>&nbsp;Filter By Tag</strong></button>
</h3>
<div class="card-grid">
{{#first posts.posts 8}}
Expand Down
4 changes: 2 additions & 2 deletions scss/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@
display: flex;
flex: 0;
margin: 2px 0;
span, .svg-icon {
strong, .svg-icon {
white-space: nowrap;
// display: inline-block;
font-size: 1em;
}
}

@media (max-width: 425px) {
.btn span {
.btn strong {
display: none;
}
}
Expand Down

0 comments on commit 61fd1a0

Please sign in to comment.