styling images
This commit is contained in:
parent
0776b425b3
commit
af5baf8a6d
@ -150,7 +150,7 @@ abstract class Item
|
||||
echo <<<IMG
|
||||
<img src="//{$_SERVER['SERVER_NAME']}/i/sh/{$this->img}" style="width: 48px; height: 48px; border-radius: 5px; border: 1px solid rgba(0, 0, 0, 0.25);
|
||||
padding: 7px; display: inline-block; background-repeat: no-repeat;
|
||||
background-color: ' . $bg_color . '; background-image: radial-gradient(circle, ' . $border_color . ', ' . $bg_color . ');">
|
||||
background-color: {$bg_color}; background-image: radial-gradient(circle, {$border_color}, {$bg_color});">
|
||||
IMG;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user