From 1ed27efccfff1b20680887feb016336914bc4573 Mon Sep 17 00:00:00 2001 From: Sarah Vaupel Date: Thu, 3 Oct 2024 22:06:51 +0200 Subject: [PATCH] build(frontend): use esbuild-compatible svg include inside scss/sass files --- frontend/src/icons.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/icons.scss b/frontend/src/icons.scss index 87f3c0aed..137a38309 100644 --- a/frontend/src/icons.scss +++ b/frontend/src/icons.scss @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2024 David Mosbach +// SPDX-FileCopyrightText: 2024 David Mosbach , Sarah Vaupel // // SPDX-License-Identifier: AGPL-3.0-or-later // SPDX-License-Identifier: LicenseRef-Fraport-Corporate-Design @@ -102,7 +102,7 @@ $icons: new, @each $name in $icons { .ico-#{$name} { - background-image: url('../../assets/icons/fradrive/#{$name}.svg'); + background-image: url('{}/../../assets/icons/fradrive/#{$name}.svg'); background-size: contain; background-repeat: no-repeat; background-position: center;