aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/app/shared/shared-forms/preview-upload.component.scss
blob: 88eccd5f7c8fd1f05110ae028edc31836eae9512 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

















                         
                        
                         
                      

                  
                               
                                                      



       
@import '_variables';
@import '_mixins';

.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 grey;
        background-color: pvar(--mainBackgroundColor);
      }
    }
  }
}