Fixed responsiveness
parent
74740970e7
commit
15f6aab46a
|
@ -3,7 +3,7 @@
|
||||||
<p>Apply responsive styles to the container element to optimize display per screen size.</p>
|
<p>Apply responsive styles to the container element to optimize display per screen size.</p>
|
||||||
</DocSectionText>
|
</DocSectionText>
|
||||||
<div class="card flex justify-center">
|
<div class="card flex justify-center">
|
||||||
<ImageCompare class="w-full sm:w-96 shadow-lg rounded-2xl">
|
<ImageCompare class="sm:!w-96 shadow-lg rounded-2xl">
|
||||||
<template #left>
|
<template #left>
|
||||||
<img src="~/assets/images/island1.jpg" />
|
<img src="~/assets/images/island1.jpg" />
|
||||||
</template>
|
</template>
|
||||||
|
@ -21,7 +21,7 @@ export default {
|
||||||
return {
|
return {
|
||||||
code: {
|
code: {
|
||||||
basic: `
|
basic: `
|
||||||
<ImageCompare class="w-full sm:w-96 shadow-lg rounded-2xl">
|
<ImageCompare class="sm:!w-96 shadow-lg rounded-2xl">
|
||||||
<template #left>
|
<template #left>
|
||||||
<img src="~/assets/images/island1.jpg" />
|
<img src="~/assets/images/island1.jpg" />
|
||||||
</template>
|
</template>
|
||||||
|
@ -33,7 +33,7 @@ export default {
|
||||||
options: `
|
options: `
|
||||||
<template>
|
<template>
|
||||||
<div class="card flex justify-center">
|
<div class="card flex justify-center">
|
||||||
<ImageCompare class="w-full sm:w-96 shadow-lg rounde-2xl">
|
<ImageCompare class="sm:!w-96 shadow-lg rounde-2xl">
|
||||||
<template #left>
|
<template #left>
|
||||||
<img src="~/assets/images/island1.jpg" />
|
<img src="~/assets/images/island1.jpg" />
|
||||||
</template>
|
</template>
|
||||||
|
@ -47,7 +47,7 @@ export default {
|
||||||
composition: `
|
composition: `
|
||||||
<template>
|
<template>
|
||||||
<div class="card flex justify-center">
|
<div class="card flex justify-center">
|
||||||
<ImageCompare class="w-full sm:w-96 shadow-lg">
|
<ImageCompare class="sm:!w-96 shadow-lg">
|
||||||
<template #left>
|
<template #left>
|
||||||
<img src="~/assets/images/island1.jpg" />
|
<img src="~/assets/images/island1.jpg" />
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Reference in New Issue