Fix badges colliding with textbox in header slider

This commit is contained in:
Björn Fromme
2022-03-08 15:20:08 +01:00
parent 2e75251e36
commit 1748c9e413
2 changed files with 3 additions and 2 deletions
@@ -3,7 +3,8 @@
}
.herounit__badge-wrapper {
@apply absolute top-0 right-0 lg:right-32 w-full px-4 md:w-auto md:px-0 flex flex-row-reverse justify-between md:flex-col md:items-center md:space-y-4;
@apply absolute top-0 right-0 md:right-32 w-full px-4 md:w-auto md:px-0;
@apply flex flex-row-reverse justify-between md:flex-col items-start md:items-center md:space-y-4;
}
.herounit__badge {
@@ -28,7 +28,7 @@
{slide.headline}
</span>
<f:if condition="{slide.subline}">
<span class="block md:text-lg text-white mb-4 md:mb-8">
<span class="hidden lg:block md:text-lg text-white mb-4 md:mb-8">
{slide.subline}
</span>
</f:if>