From c29c018c7a543fc9398b5d7d11f086123e2b33f2 Mon Sep 17 00:00:00 2001 From: root <ola@castopod.org> Date: Fri, 12 Aug 2022 12:22:31 +0000 Subject: [PATCH] feat: add label to sponsor button on podcast page closes #162 --- themes/cp_app/podcast/_layout.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/cp_app/podcast/_layout.php b/themes/cp_app/podcast/_layout.php index f35f9136b4..0fe348e951 100644 --- a/themes/cp_app/podcast/_layout.php +++ b/themes/cp_app/podcast/_layout.php @@ -59,7 +59,7 @@ </div> <div class="z-10 inline-flex items-center self-end mt-2 mr-2 sm:mb-4 sm:mr-4 gap-x-2"> <?php if (in_array(true, array_column($podcast->fundingPlatforms, 'is_visible'), true)): ?> - <button class="p-2 text-red-600 bg-white rounded-full shadow hover:text-red-500 focus:ring-accent" data-toggle="funding-links" data-toggle-class="hidden" data-tooltip="bottom" title="<?= lang('Podcast.sponsor') ?>"><Icon glyph="heart"></Icon></button> + <button class="inline-flex items-center px-4 text-xs font-semibold leading-8 tracking-wider text-red-600 uppercase bg-white rounded-full shadow hover:text-red-500 focus:ring-accent" data-toggle="funding-links" data-toggle-class="hidden" data-tooltip="bottom"><Icon glyph="heart" class="mr-2 text-sm"></Icon><?= lang('Podcast.sponsor') ?></button> <?php endif; ?> <?= anchor_popup( route_to('follow', esc($podcast->handle)), -- GitLab