From 2f8952b3bfc2f9d16aa3aa58fa312d2f5382274b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=B8nstantine=20Kovalensky?= <45331093+kovalensky@users.noreply.github.com> Date: Fri, 29 Dec 2023 00:11:44 +0400 Subject: [PATCH] Some CSS additions (#1280) --- library/includes/functions.php | 3 ++- styles/images/flags/YU.svg | 6 ++++++ styles/templates/default/css/main_content.css | 7 +++++++ 3 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 styles/images/flags/YU.svg diff --git a/library/includes/functions.php b/library/includes/functions.php index 002703d0d..37df2fce7 100644 --- a/library/includes/functions.php +++ b/library/includes/functions.php @@ -1252,7 +1252,7 @@ function get_user_torrent_client(string $peer_id): mixed } if (!empty($bestMatch)) { - return '' . $bestMatch . ''; + return '' . $bestMatch . ''; } 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', diff --git a/styles/images/flags/YU.svg b/styles/images/flags/YU.svg new file mode 100644 index 000000000..a27b1056e --- /dev/null +++ b/styles/images/flags/YU.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/styles/templates/default/css/main_content.css b/styles/templates/default/css/main_content.css index 995c22a1f..bfefe9dad 100644 --- a/styles/templates/default/css/main_content.css +++ b/styles/templates/default/css/main_content.css @@ -610,6 +610,13 @@ table.peers td { border: 1px #A5AFB4 solid; } +.clients { + width: auto; + height: auto; + display: inline!important; + vertical-align:middle; +} + .dl_list { }