Merge branch 'blurhash' into 'develop'

Replace repetitive blurhash code with component, add blurhash to upload form

Closes #661

See merge request soapbox-pub/soapbox-fe!571
This commit is contained in:
Alex Gleason 2021-07-02 03:20:37 +00:00
commit 5bf3601b5e
6 changed files with 3 additions and 1 deletions

Binary file not shown.

Binary file not shown.

View file

@ -219,6 +219,9 @@
flex: 1 1 0;
min-width: 40%;
margin: 5px;
position: relative;
border-radius: 4px;
overflow: hidden;
&__actions {
background: linear-gradient(180deg, rgba($base-shadow-color, 0.8) 0, rgba($base-shadow-color, 0.35) 80%, transparent);
@ -298,7 +301,6 @@
}
.compose-form__upload-thumbnail {
border-radius: 4px;
background-position: center;
background-size: contain;
background-repeat: no-repeat;