mirror of
https://github.com/humhub/humhub.git
synced 2025-03-04 15:19:06 +01:00
Fixed: ImageWidget style attribute
This commit is contained in:
parent
084b9b676c
commit
b2d57bcf8c
@ -17,6 +17,9 @@ use yii\helpers\Html;
|
||||
'space' => $space,
|
||||
'width' => 40,
|
||||
'link' => true,
|
||||
'htmlOptions' => [
|
||||
'style' => 'margin-bottom: 5px;',
|
||||
],
|
||||
'linkOptions' => [
|
||||
'class' => 'tt',
|
||||
'data-toggle' => 'tooltip',
|
||||
|
@ -116,7 +116,7 @@ class Image extends Widget
|
||||
$borderRadius = 2;
|
||||
}
|
||||
|
||||
return "font-size: " . $fontSize . "px; padding: " . $padding . "px 0; border-radius: " . $borderRadius . "px";
|
||||
return "font-size: " . $fontSize . "px; padding: " . $padding . "px 0; border-radius: " . $borderRadius . "px;";
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user