From 8a387e1a9b8951018b9ec5eef7a0f1f55259919a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henry=20T=C3=A4schner?=
<129834483+HenryT-CG@users.noreply.github.com>
Date: Thu, 8 Aug 2024 15:04:54 +0200
Subject: [PATCH] Fix import layout (#211)
* fix: import layout
* fix: import layout
---
src/_mixins.scss | 26 +++++++++++++++++++
.../theme-import/theme-import.component.html | 15 ++++++-----
.../theme-import/theme-import.component.scss | 26 +++----------------
3 files changed, 37 insertions(+), 30 deletions(-)
diff --git a/src/_mixins.scss b/src/_mixins.scss
index 5c1cd1f..d83d3ee 100644
--- a/src/_mixins.scss
+++ b/src/_mixins.scss
@@ -158,6 +158,32 @@
}
}
+@mixin correct-file-upload {
+ :host ::ng-deep {
+ .p-fileupload {
+ .p-fileupload-buttonbar,
+ .p-fileupload-content {
+ background-color: var(--surface-100) !important;
+ }
+ .p-fileupload-content {
+ padding: 0.5rem;
+ .p-fileupload-row {
+ display: flex;
+ flex-wrap: wrap;
+ justify-content: space-between;
+ gap: 0;
+ > div {
+ width: unset;
+ &.p-fileupload-filename {
+ max-width: 25rem;
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
@mixin search-criteria-select-button-slim {
:host ::ng-deep {
.slim-selectbutton {
diff --git a/src/app/theme/theme-import/theme-import.component.html b/src/app/theme/theme-import/theme-import.component.html
index 4d99ad0..1233965 100644
--- a/src/app/theme/theme-import/theme-import.component.html
+++ b/src/app/theme/theme-import/theme-import.component.html
@@ -7,7 +7,7 @@
(onHide)="onImportThemeHide()"
>