Remove bypass and use use glitch-soc's theming system for inert.css

This commit is contained in:
Claire committed 2024-01-15 22:16:26 +01:00
1 parent 34c9f77b3e
commit 01df34b9db
4 files changed
+5 -6

No files matched your search

File renamed without changes.
+3
View File
@@ -10,6 +10,9 @@ pack:
embed: embed.js
error:
home:
inert:
filename: inert.js
stylesheet: true
mailer:
filename: mailer.js
stylesheet: true
+1 -1
View File
@@ -29,7 +29,7 @@
= javascript_pack_tag 'common', crossorigin: 'anonymous'
-# Needed for the wicg-inert polyfill. It needs to be on it's own <style> tag, with this `id`
= stylesheet_pack_tag 'inert', media: 'all', id: 'inert-style'
= stylesheet_pack_tag 'core/inert', media: 'all', id: 'inert-style'
- if @theme
- if @theme[:supported_locales].include? I18n.locale.to_s