Update docs

This commit is contained in:
Vadim
2021-01-25 21:50:46 +03:00
parent 52ecfbde54
commit ab80cad0ad
9 changed files with 330 additions and 21 deletions

View File

@@ -0,0 +1,22 @@
<script>
export let src
export let alt
</script>
<div class="image-container">
<img {src} {alt} />
</div>
<style>
.image-container {
display: block;
width: 100%;
height: 150px;
}
img {
width: 100%;
height: 100%;
object-fit: cover;
-webkit-user-drag: none;
}
</style>