Fix rounded corners on icons

This commit is contained in:
Cryptkeeper 2015-12-04 16:26:07 -06:00
parent 97d6368c16
commit 9ad7f261e1
2 changed files with 8 additions and 2 deletions

View File

@ -95,6 +95,7 @@ body {
.server > .column > img {
border-radius: 2px;
margin-top: 5px;
}
.server > .column {
@ -102,6 +103,11 @@ body {
display: inline-block;
}
.server > .column > .rank {
width: 64px;
padding-top: 3px;
}
.server > .column > h3 > .type {
padding: 1px 5px;
border-radius: 2px;

View File

@ -233,9 +233,9 @@ $(document).ready(function() {
id: safeName(info.name),
class: 'server',
html: '<div id="server-' + safeName(info.name) + '" class="column" style="width: 80px;">\
<img style="padding-top: 5px;" id="favicon_' + safeName(info.name) + '">\
<img id="favicon_' + safeName(info.name) + '">\
<br />\
<p class="text-center-align" style="width: 64px; padding-top: 3px;" id="ranking_' + safeName(info.name) + '"></p>\
<p class="text-center-align rank" id="ranking_' + safeName(info.name) + '"></p>\
</div>\
<div class="column" style="width: 280px;">\
<h3>' + info.name + '&nbsp;<span class="type">' + info.type + '</span></h3>\