Prevent Twitter avatar image zooming on quoted Tweets.
This commit is contained in:
parent
6043cfc652
commit
fa08b7d2e0
|
@ -28,7 +28,7 @@ struct TwitterUser: Codable {
|
||||||
var html = String()
|
var html = String()
|
||||||
html += "<div><a href=\"\(url)\">"
|
html += "<div><a href=\"\(url)\">"
|
||||||
if let avatarURL = avatarURL {
|
if let avatarURL = avatarURL {
|
||||||
html += "<img class=\"twitterAvatar\" src=\"\(avatarURL)\">"
|
html += "<img class=\"twitterAvatar nnw-nozoom\" src=\"\(avatarURL)\">"
|
||||||
}
|
}
|
||||||
html += "<div class=\"twitterUsername\">"
|
html += "<div class=\"twitterUsername\">"
|
||||||
if let name = name {
|
if let name = name {
|
||||||
|
|
Loading…
Reference in New Issue