Skip to content

Commit

Permalink
BUGFIX: #409
Browse files Browse the repository at this point in the history
  • Loading branch information
t3solution authored Oct 7, 2024
1 parent 58cc10f commit 24268e3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Classes/DataProcessing/ConfigProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,9 @@ public function process(ContentObjectRenderer $cObj, array $contentObjectConfigu
$y = $ratioArr[1].' / '.$ratioArr[0].' * 100%';
$processedData['ratioCalcCss'] = '.ratio-'.$x.'{--bs-aspect-ratio:calc('.$y.');}';
} else {
$processedData['config']['jumbotron']['class'] = ' ratio';
if ( !empty($processedData['data']['tx_t3sbootstrap_fullheightsection']) ) {
$processedData['config']['jumbotron']['class'] = ' ratio';
}
}

}
Expand Down

0 comments on commit 24268e3

Please sign in to comment.