Skip to content

Commit

Permalink
disable share on twitter for mobile now
Browse files Browse the repository at this point in the history
Signed-off-by: danbugs <[email protected]>
  • Loading branch information
danbugs committed Feb 20, 2024
1 parent 7edfc9f commit 3e14f5c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ pub fn player_profile_tournament_list(props: &Props) -> Html {
<i class="bi bi-trophy" aria-hidden="true"></i> {" View on StartGG"}
</a>
</div>
<div class="col-auto">
<div class="col-auto show-on-desktop">
<a {onclick} rel="noopener noreferrer" class="btn btn-secondary btn-sm">
<i class="bi bi-twitter" aria-hidden="true"></i> {" Share on Twitter"}
</a>
Expand Down
6 changes: 6 additions & 0 deletions frontend/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,12 @@ ul.list-group.list-group-hover button:hover{
font-size: 15px;
}

@media (max-width: 767px) {
.show-on-desktop {
display: none;
}
}

.grecaptcha-badge {
z-index: 1000;
position: relative;
Expand Down

0 comments on commit 3e14f5c

Please sign in to comment.