sveltekit-ui 1.1.53 → 1.1.54
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Components/YoutubeVideo/index.svelte +1 -2
- package/dist/Components/YoutubeVideo/index.svelte.js +3 -0
- package/package.json +1 -1
- package/src/lib/Components/YoutubeVideo/index.svelte +1 -2
- package/src/lib/Components/YoutubeVideo/index.svelte.js +3 -0
- package/src/routes/+page.svelte +2 -2
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
<a href="https://youtu.be/{manager?.video_id}">https://youtu.be/{manager?.video_id}</a>
|
|
29
29
|
</div>
|
|
30
30
|
{/if}
|
|
31
|
-
<div class="video_container">
|
|
31
|
+
<div class="video_container" style="border-radius: {manager?.border_radius}rem;">
|
|
32
32
|
<div class="video_inner_container">
|
|
33
33
|
<iframe
|
|
34
34
|
class:is_hidden={!!manager?.error_message}
|
|
@@ -48,7 +48,6 @@
|
|
|
48
48
|
position: relative;
|
|
49
49
|
width: 100%;
|
|
50
50
|
overflow: hidden;
|
|
51
|
-
margin-top: 2rem;
|
|
52
51
|
}
|
|
53
52
|
.video_inner_container {
|
|
54
53
|
position: relative;
|
package/package.json
CHANGED
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
<a href="https://youtu.be/{manager?.video_id}">https://youtu.be/{manager?.video_id}</a>
|
|
29
29
|
</div>
|
|
30
30
|
{/if}
|
|
31
|
-
<div class="video_container">
|
|
31
|
+
<div class="video_container" style="border-radius: {manager?.border_radius}rem;">
|
|
32
32
|
<div class="video_inner_container">
|
|
33
33
|
<iframe
|
|
34
34
|
class:is_hidden={!!manager?.error_message}
|
|
@@ -48,7 +48,6 @@
|
|
|
48
48
|
position: relative;
|
|
49
49
|
width: 100%;
|
|
50
50
|
overflow: hidden;
|
|
51
|
-
margin-top: 2rem;
|
|
52
51
|
}
|
|
53
52
|
.video_inner_container {
|
|
54
53
|
position: relative;
|
package/src/routes/+page.svelte
CHANGED
|
@@ -349,7 +349,7 @@ below are the docs for each component individually
|
|
|
349
349
|
</script>
|
|
350
350
|
|
|
351
351
|
<div class="container">
|
|
352
|
-
<div style="max-width:
|
|
352
|
+
<div style="max-width: clamp(20rem, 100%, 100dvw);">
|
|
353
353
|
<YoutubeVideo manager={youtube_video_manager} />
|
|
354
354
|
</div>
|
|
355
355
|
<Content manager={content_manager} />
|
|
@@ -365,7 +365,7 @@ below are the docs for each component individually
|
|
|
365
365
|
.container {
|
|
366
366
|
margin: auto;
|
|
367
367
|
padding: 0 2rem 10rem 2rem;
|
|
368
|
-
max-width:
|
|
368
|
+
max-width: clamp(20rem, 100%, 100dvw);
|
|
369
369
|
}
|
|
370
370
|
p {
|
|
371
371
|
margin-top: 2rem;
|