Commit eb70bb4f authored by Yassine Doghri's avatar Yassine Doghri
Browse files

fix: update purgecss content path for php helper files

- fix overshooting podcast name when too long in podcast sidebar
- update npm packages to latest versions

fixes #59
parent c39efc94
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@tailwind base;

/* Start purging... */
@tailwind components;
/* Stop purging. */

/* Start purging... */
@tailwind utilities;
/* Stop purging. */
+4 −4
Original line number Diff line number Diff line
@@ -39,14 +39,14 @@ $podcastNavigation = [
    <img
    src="<?= $podcast->image->thumbnail_url ?>"
    alt="<?= $podcast->title ?>"
    class="object-cover w-16 h-16 mr-2"
    class="object-cover w-16 h-16"
    />
    <div class="flex flex-col items-start flex-1">
        <span class="font-semibold truncate"><?= $podcast->title ?></span>
    <div class="flex flex-col items-start flex-1 w-48 px-2">
        <span class="w-40 text-sm font-semibold truncate" title="<?= $podcast->title ?>"><?= $podcast->title ?></span>
        <a href="<?= route_to(
            'podcast',
            $podcast->name
        ) ?>" class="inline-flex items-center text-sm underline outline-none hover:no-underline focus:shadow-outline"
        ) ?>" class="inline-flex items-center text-xs underline outline-none hover:no-underline focus:shadow-outline"
        data-toggle="tooltip" data-placement="bottom" title="<?= lang(
            'PodcastNavigation.go_to_page'
        ) ?>">@<?= $podcast->name ?>
+170 −109

File changed.

Preview size limit exceeded, changes collapsed.

+9 −9

File changed.

Preview size limit exceeded, changes collapsed.

+3 −5
Original line number Diff line number Diff line
/* eslint-disable */

module.exports = {
  purge: [
    "./app/Views/**/*.php",
    "./app/Views/**/*.ts",
    "/app/Helpers/**/*.php",
  ],
  purge: ["./app/Views/**/*.php", "./app/Views/**/*.ts", "./app/Helpers/*.php"],
  theme: {},
  variants: {
    textDecoration: ["responsive", "hover", "focus", "group-hover"],
@@ -17,5 +13,7 @@ module.exports = {
  future: {
    removeDeprecatedGapUtilities: true,
    purgeLayersByDefault: true,
    defaultLineHeights: true,
    standardFontWeights: true,
  },
};