Skip to content

Commit

Permalink
fix(file-download): fix transparent background - FRONT-4628 (#3644)
Browse files Browse the repository at this point in the history
  • Loading branch information
emeryro authored Sep 24, 2024
1 parent f26eeeb commit fe95aad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/implementations/vanilla/components/file/file.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ $theme: null !default;
$file: null !default;

.ecl-file {
background-color: map.get($file, 'container-background');
border: map.get($file, 'container-border');
border-radius: map.get($file, 'border-radius');
box-shadow: map.get($file, 'shadow');
Expand All @@ -21,7 +22,6 @@ $file: null !default;

.ecl-file__container {
align-items: flex-start;
background-color: map.get($file, 'container-background');
display: flex;
flex-wrap: nowrap;
padding: map.get($file, 'container-spacing');
Expand Down Expand Up @@ -52,7 +52,6 @@ $file: null !default;
}

.ecl-file__footer {
background-color: map.get($file, 'container-background');
border-top: map.get($file, 'file-footer-border');
display: flex;
flex-direction: column;
Expand Down
2 changes: 1 addition & 1 deletion src/themes/eu/variables/_file.scss
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ $file: (
file-thumbnail-footer-margin: 0,
file-thumbnail-footer-padding: var(--s-m) var(--s-l) var(--s-l),
file-thumbnail-meta-margin: var(--s-xs),
file-translation-background: var(--c-n-40),
file-translation-background: map.get($color, 'white'),
file-translation-border: 1px solid var(--c-p-10),
file-translation-container-border: 2px solid var(--c-p-10),
file-translation-container-padding-left: var(--s-l),
Expand Down

1 comment on commit fe95aad

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.