From 8fd96b46e73a0e7f984305e487e383a471dfcf88 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Wed, 5 Feb 2025 23:42:13 +0100 Subject: widecards and season views --- server/src/routes/ui/style.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/src/routes/ui/style.rs') diff --git a/server/src/routes/ui/style.rs b/server/src/routes/ui/style.rs index a719b67..c935c8a 100644 --- a/server/src/routes/ui/style.rs +++ b/server/src/routes/ui/style.rs @@ -12,7 +12,7 @@ use rocket::{ macro_rules! concat_files { ([$base: expr], $($files:literal),*) => {{ - #[cfg(debug_assertions)] + #[cfg(any(debug_assertions, feature = "hot-css"))] { use std::{fs::read_to_string, path::PathBuf, str::FromStr}; [ $($files),* ] @@ -28,7 +28,7 @@ macro_rules! concat_files { .collect::>() .join("\n") } - #[cfg(not(debug_assertions))] + #[cfg(not(any(debug_assertions, feature = "hot-css")))] concat!($(include_str!(concat!($base, "/", $files))),*).to_string() }}; } -- cgit v1.2.3-70-g09d2