og-image/web
Ben Spinks 9b185b0107
Add button that removes an image (#134)
* Add button that removes an image

* Make remove button 100% width

The calc + 2px is to account for inconsistency with the other inputs
and selectors which appear to be 2px wider than 100% (presumably from
border)

* Make splice/filter operation clearer

The array has to be spread before filtering.
This is for the case where only a later image has a defined width/height
In those cases the width/height array would be defined as [4: 350]
for example.
Filtering on that array would give unexpected result.
The spreading creates the full array and then filters correctly.

Co-authored-by: Steven <steven@ceriously.com>
2020-08-27 10:55:33 -04:00
..
index.ts Add button that removes an image (#134) 2020-08-27 10:55:33 -04:00
tsconfig.json Remove builds in favor of zero-config (#87) 2019-07-25 12:35:12 -04:00