aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-forms/preview-upload.component.scss
blob: b6cc2f007e2c6c5e4253d7949eb3352bb949edf6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
@use '_variables' as *;
@use '_mixins' as *;

.root {
  height: auto;
  display: flex;
  flex-direction: column;

  .preview-container {
    position: relative;

    my-reactive-file {
      position: absolute;
      bottom: 10px;
      left: 10px;
    }

    .preview {
      object-fit: cover;
      border-radius: 4px;
      max-width: 100%;

      &.no-image {
        border: 2px solid #808080;
        background-color: pvar(--mainBackgroundColor);
      }
    }
  }
}