mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
style: format via prettier
This commit is contained in:
@@ -58,7 +58,6 @@
|
|||||||
</svelte:head>
|
</svelte:head>
|
||||||
|
|
||||||
<Navbar {data} />
|
<Navbar {data} />
|
||||||
<!-- <div class="h-15 w-full"></div> -->
|
|
||||||
<slot />
|
<slot />
|
||||||
<Footer />
|
<Footer />
|
||||||
|
|
||||||
|
|||||||
@@ -67,7 +67,7 @@
|
|||||||
|
|
||||||
element.style.height = 'auto';
|
element.style.height = 'auto';
|
||||||
h = element.scrollHeight;
|
h = element.scrollHeight;
|
||||||
max = MAX_HEIGHT();
|
max = MAX_HEIGHT();
|
||||||
|
|
||||||
if (h > max) {
|
if (h > max) {
|
||||||
element.style.height = max + 'px';
|
element.style.height = max + 'px';
|
||||||
|
|||||||
Reference in New Issue
Block a user