* overviewBlock: adjust default style.
This commit is contained in:
@@ -1,3 +1 @@
|
||||
.overview-block .cards {margin-top: -20px;}
|
||||
.overview-block .cards > .card + .card > :first-child {border-left-width: 1px;}
|
||||
.overview-block .bar-chart ul {height: 60px;}
|
||||
|
||||
@@ -28,7 +28,7 @@ class overviewBlock extends wg
|
||||
|
||||
protected function buildCard($card): wg
|
||||
{
|
||||
$class = 'text-2xl text-center font-bold leading-relaxed ' . (!empty($card->class) ? $card->class : '');
|
||||
$class = 'text-2xl text-center leading-relaxed ' . (!empty($card->class) ? $card->class : '');
|
||||
|
||||
return col
|
||||
(
|
||||
@@ -59,6 +59,7 @@ class overviewBlock extends wg
|
||||
return div
|
||||
(
|
||||
setClass('cards flex w-1/2'),
|
||||
setStyle(array('margin-top' => '-20px')),
|
||||
$cards
|
||||
);
|
||||
}
|
||||
@@ -104,6 +105,7 @@ class overviewBlock extends wg
|
||||
h::ul
|
||||
(
|
||||
setClass('flex justify-around items-end w-full'),
|
||||
setStyle(array('height' => '60px')),
|
||||
$bars
|
||||
)
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user