mirror of
https://github.com/unraid/webgui.git
synced 2026-03-13 14:30:29 -05:00
Fixed auto resize icons to 48px in plugins page
This commit is contained in:
@@ -56,9 +56,9 @@ foreach (glob("/var/log/plugins/*.plg",GLOB_NOSORT) as $plugin_link) {
|
||||
//link/icon
|
||||
$icon = icon($name);
|
||||
if ($launch = plugin('launch',$plugin_file))
|
||||
$link = "<a href='/$launch'><img src='/$icon'></a>";
|
||||
$link = "<a href='/$launch'><img src='/$icon' class='list'></a>";
|
||||
else
|
||||
$link = "<img src='/$icon'>";
|
||||
$link = "<img src='/$icon' class='list'>";
|
||||
//description
|
||||
$readme = "plugins/{$name}/README.md";
|
||||
if (file_exists($readme))
|
||||
|
||||
@@ -221,6 +221,7 @@ span.tub{margin-right:8px;font-size:24px;cursor:pointer}
|
||||
span.score{font-size:11px;color:#FFFFFF;position:absolute}
|
||||
span#dropbox{background:none;line-height:60px;margin-right:20px}
|
||||
img.icon{margin:-3px 4px 0 0}
|
||||
img.list{width:auto;max-width:48px;height:48px}
|
||||
div.content{position:absolute;top:0;left:0;width:100%;padding-bottom:30px;z-index:-1;clear:both}
|
||||
div.content.shift{margin-top:1px}
|
||||
label+.content{margin-top:64px}
|
||||
|
||||
@@ -203,6 +203,7 @@ span.three{margin-left:-20px}
|
||||
span.tub{margin-right:8px;font-size:24px;cursor:pointer}
|
||||
span.score{font-size:11px;color:#F0F0F0;position:absolute}
|
||||
img.icon{margin:-3px 4px 0 0}
|
||||
img.list{width:auto;max-width:48px;height:48px}
|
||||
div.content{position:absolute;top:45px;left:0;width:100%;padding-bottom:30px;z-index:-1;clear:both}
|
||||
div.content.shift{margin-top:-70px}
|
||||
div.tabs{position:relative;margin:24px 0 0 0}
|
||||
|
||||
@@ -221,6 +221,7 @@ span.tub{margin-right:8px;font-size:24px;cursor:pointer}
|
||||
span.score{font-size:11px;color:#FFFFFF;position:absolute}
|
||||
span#dropbox{background:none;line-height:60px;margin-right:20px}
|
||||
img.icon{margin:-3px 4px 0 0}
|
||||
img.list{width:auto;max-width:48px;height:48px}
|
||||
div.content{position:absolute;top:0;left:0;width:100%;padding-bottom:30px;z-index:-1;clear:both}
|
||||
div.content.shift{margin-top:1px}
|
||||
label+.content{margin-top:64px}
|
||||
|
||||
@@ -203,6 +203,7 @@ span.three{margin-left:-20px}
|
||||
span.tub{margin-right:8px;font-size:24px;cursor:pointer}
|
||||
span.score{font-size:11px;color:#F0F0F0;position:absolute}
|
||||
img.icon{margin:-3px 4px 0 0}
|
||||
img.list{width:auto;max-width:48px;height:48px}
|
||||
div.content{position:absolute;top:45px;left:0;width:100%;padding-bottom:30px;z-index:-1;clear:both}
|
||||
div.content.shift{margin-top:-70px}
|
||||
div.tabs{position:relative;margin:24px 0 0 0}
|
||||
|
||||
Reference in New Issue
Block a user