|
@@ -210,7 +210,7 @@ discard block |
|
|
block discarded – undo |
|
210
|
210
|
if (!empty($settings)) { |
|
211
|
211
|
// Use the Type Style color as the button's background color. |
|
212
|
212
|
if (!empty($settings['color'])) { |
|
213
|
|
- $build['actions']['quick_draft_form'][$id]['#attributes']['style'] = 'background-color: ' . $settings['color']; |
|
|
213
|
+ $build['actions']['quick_draft_form'][$id]['#attributes']['style'] = 'background-color: '.$settings['color']; |
|
214
|
214
|
} |
|
215
|
215
|
|
|
216
|
216
|
// Add the Type Style icon to the button. |
|
@@ -221,7 +221,7 @@ discard block |
|
|
block discarded – undo |
|
221
|
221
|
'button' => [ |
|
222
|
222
|
'#type' => 'container', |
|
223
|
223
|
'#attributes' => ['class' => ['moderation-sidebar-form-button'], 'style' => ['position: relative']], |
|
224
|
|
- 'child-icon' => ['#markup' => '<i class="material-icons">' . $settings['icon'] . '</i>'], |
|
|
224
|
+ 'child-icon' => ['#markup' => '<i class="material-icons">'.$settings['icon'].'</i>'], |
|
225
|
225
|
'child-action' => $build['actions']['quick_draft_form'][$id], |
|
226
|
226
|
], |
|
227
|
227
|
]; |
Please login to merge, or discard this patch.