Some CSS additions (#1280)

This commit is contained in:
Cønstantine Kovalensky 2023-12-29 00:11:44 +04:00 committed by GitHub
commit 2f8952b3bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 1 deletions

View file

@ -1252,7 +1252,7 @@ function get_user_torrent_client(string $peer_id): mixed
}
if (!empty($bestMatch)) {
return '<img width="auto" height="auto" style="display:inline!important;vertical-align:middle" src="' . FULL_URL . 'styles/images/clients/' . $bestMatch . $iconExtension . '" alt="' . $bestMatch . '" title="' . $peer_id . '">';
return '<img class="clients" src="' . FULL_URL . 'styles/images/clients/' . $bestMatch . $iconExtension . '" alt="' . $bestMatch . '" title="' . $peer_id . '">';
}
return $peer_id;
@ -1513,6 +1513,7 @@ function render_flag($code) {
'WS' => 'Samoa',
'XK' => 'Kosovo',
'YE' => 'Yemen',
'YU' => 'Yugoslavia',
'YT' => 'Mayotte',
'ZA' => 'South Africa',
'ZM' => 'Zambia',