diff --git a/src/my-calendar-categories.php b/src/my-calendar-categories.php index e16b8adc..19e11ac1 100644 --- a/src/my-calendar-categories.php +++ b/src/my-calendar-categories.php @@ -934,7 +934,7 @@ class='edit'> | if ( ! $icon ) { $icon_bg = 'transparent'; } - $style = ( '' !== $icon_bg ) ? ' style="background-color:' . esc_attr( $icon_bg ) . '"' : ''; + $style = ( '' !== $icon_bg ) ? ' style="text-align:center;vertical-align:middle;background-color:' . esc_attr( $icon_bg ) . '"' : ''; ?>