Skip to content

Commit e969437

Browse files
committed
Fixed Border radius - Counter Element
1 parent 196331d commit e969437

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

assets/css/counter.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,9 @@
1818

1919
.mighty-counter .mtcounter-content .counter-title {
2020
font-size: 22px;
21+
}
22+
23+
.mighty-counter .mt-counter-icon i {
24+
box-sizing: content-box;
25+
padding: 20px;
2126
}

widgets/counter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ protected function _register_controls() {
204204
'size' => 40,
205205
],
206206
'selectors' => [
207-
'{{WRAPPER}} .mighty-counter .mt-counter-icon i' => 'font-size: {{SIZE}}{{UNIT}}',
207+
'{{WRAPPER}} .mighty-counter .mt-counter-icon i' => 'font-size: {{SIZE}}{{UNIT}}; width: {{SIZE}}{{UNIT}}; height: {{SIZE}}{{UNIT}}; line-height: {{SIZE}}{{UNIT}};',
208208
],
209209
]
210210
);

0 commit comments

Comments
 (0)