Skip to content

Commit

Permalink
Fixing iPhone/Safari X/Twitter icon
Browse files Browse the repository at this point in the history
  • Loading branch information
aembler committed Jan 22, 2024
1 parent 4d59bfc commit ffd3ec8
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion concrete/src/Sharing/ShareThisPage/ServiceList.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ protected static function getServices()
{
return array(
array('facebook', 'Facebook', 'fab fa-facebook'),
array('twitter', 'X', null, '<svg width="auto" height="auto" viewBox="0 0 300 300" version="1.1" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="M178.57 127.15 290.27 0h-26.46l-97.03 110.38L89.34 0H0l117.13 166.93L0 300.25h26.46l102.4-116.59 81.8 116.59h89.34M36.01 19.54H76.66l187.13 262.13h-40.66"/></svg>'),
array('twitter', 'X', null, '<svg id="icon-twitter-x" width="16" height="16" viewBox="0 0 300 300" version="1.1" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="M178.57 127.15 290.27 0h-26.46l-97.03 110.38L89.34 0H0l117.13 166.93L0 300.25h26.46l102.4-116.59 81.8 116.59h89.34M36.01 19.54H76.66l187.13 262.13h-40.66"/></svg>'),
array('linkedin', 'LinkedIn', 'fab fa-linkedin'),
array('reddit', 'Reddit', 'fab fa-reddit'),
array('pinterest', 'Pinterest', 'fab fa-pinterest'),
Expand Down
2 changes: 1 addition & 1 deletion concrete/src/Sharing/SocialNetwork/ServiceList.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ protected static function getServices()
{
$services = [
['facebook', 'Facebook', 'fab fa-facebook'],
['twitter', 'X', null, '<svg width="auto" height="auto" viewBox="0 0 300 300" version="1.1" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="M178.57 127.15 290.27 0h-26.46l-97.03 110.38L89.34 0H0l117.13 166.93L0 300.25h26.46l102.4-116.59 81.8 116.59h89.34M36.01 19.54H76.66l187.13 262.13h-40.66"/></svg>'],
['twitter', 'X', null, '<svg id="icon-twitter-x" width="16" height="16" viewBox="0 0 300 300" version="1.1" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="M178.57 127.15 290.27 0h-26.46l-97.03 110.38L89.34 0H0l117.13 166.93L0 300.25h26.46l102.4-116.59 81.8 116.59h89.34M36.01 19.54H76.66l187.13 262.13h-40.66"/></svg>'],
['instagram', 'Instagram', 'fab fa-instagram'],
['tumblr', 'Tumblr', 'fab fa-tumblr-square'],
['github', 'Github', 'fab fa-github-square'],
Expand Down
3 changes: 3 additions & 0 deletions concrete/themes/atomik/css/scss/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ div.theme-atomik {
color: $dark;
}
svg {
height: 20px;
width: 20px;
max-height: 20px;
max-width: 20px;
fill: $dark;
}
i {
Expand Down
2 changes: 1 addition & 1 deletion concrete/themes/atomik/css/skins/default.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion concrete/themes/atomik/css/skins/rustic-elegance.css

Large diffs are not rendered by default.

0 comments on commit ffd3ec8

Please sign in to comment.