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:
commit
5bf3601b5e
6 changed files with 3 additions and 1 deletions
BIN
app/soapbox/components/blurhash.js
Normal file
BIN
app/soapbox/components/blurhash.js
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue