From 50af9334a44ceadfe29c6f97b13bad87b070753d Mon Sep 17 00:00:00 2001 From: systemreliability <51009183+systemreliability@users.noreply.github.com> Date: Fri, 8 May 2026 11:57:27 +0200 Subject: [PATCH] Fix publication badge spacing cache bust --- _plugins/cache-bust.rb | 4 ++-- _sass/_publication-badges.scss | 14 ++++++++++++-- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/_plugins/cache-bust.rb b/_plugins/cache-bust.rb index 94d82d20..d759d78c 100644 --- a/_plugins/cache-bust.rb +++ b/_plugins/cache-bust.rb @@ -43,9 +43,9 @@ def bust_file_cache(file_name) end def bust_css_cache(file_name) - CacheDigester.new(file_name: file_name, directory: 'assets/_sass').digest! + CacheDigester.new(file_name: file_name, directory: '_sass').digest! end end end -Liquid::Template.register_filter(Jekyll::CacheBust) \ No newline at end of file +Liquid::Template.register_filter(Jekyll::CacheBust) diff --git a/_sass/_publication-badges.scss b/_sass/_publication-badges.scss index 56c29cbb..2754b353 100644 --- a/_sass/_publication-badges.scss +++ b/_sass/_publication-badges.scss @@ -9,7 +9,7 @@ --publication-badge-gap: 0rem; --dimensions-badge-scale: 0.92; --dimensions-badge-offset-y: 1px; - --openalex-scholar-gap: 0.8rem; + --openalex-scholar-gap: 0.9rem; align-items: center; gap: var(--publication-badge-gap); @@ -29,8 +29,18 @@ } } + .openalex-badge, + .google-scholar-badge { + display: inline-flex; + align-items: center; + + img { + display: block; + } + } + .openalex-badge ~ .google-scholar-badge { - margin-left: var(--openalex-scholar-gap); + margin-left: var(--openalex-scholar-gap, 0.9rem) !important; } } }