mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-10 03:49:24 +00:00
made country flags apply to windows in chrome browsers
This commit is contained in:
5
core/static/bundled/polyfill-index.ts
Normal file
5
core/static/bundled/polyfill-index.ts
Normal file
@ -0,0 +1,5 @@
|
||||
import { polyfillCountryFlagEmojis } from "country-flag-emoji-polyfill";
|
||||
|
||||
window.addEventListener("DOMContentLoaded", () => {
|
||||
polyfillCountryFlagEmojis();
|
||||
});
|
@ -106,6 +106,7 @@ $hovered-red-text-color: #ff4d4d;
|
||||
color: $text-color;
|
||||
font-weight: normal;
|
||||
line-height: 1.3em;
|
||||
font-family: "Twemoji Country Flags", sans-serif;
|
||||
|
||||
&:hover {
|
||||
background-color: $background-color-hovered;
|
||||
|
@ -23,6 +23,7 @@
|
||||
<script type="module" src={{ static("bundled/core/components/include-index.ts") }}></script>
|
||||
<script type="module" src="{{ static('bundled/alpine-index.js') }}"></script>
|
||||
<script type="module" src="{{ static('bundled/htmx-index.js') }}"></script>
|
||||
<script type="module" src="{{ static('bundled/polyfill-index.ts') }}"></script>
|
||||
|
||||
<!-- Jquery declared here to be accessible in every django widgets -->
|
||||
<script src="{{ static('bundled/vendored/jquery.min.js') }}"></script>
|
||||
|
Reference in New Issue
Block a user