Skip to content

Commit

Permalink
Remove CSS styles
Browse files Browse the repository at this point in the history
  • Loading branch information
filiptronicek committed Jan 7, 2024
1 parent 8f9f98a commit 65f4ff9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 35 deletions.
25 changes: 2 additions & 23 deletions src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,10 @@
import './styles.css';
</script>

<div class="app">
<div class="app flex flex-col min-h-screen">
<Header />

<main>
<main class="flex flex-col w-full max-w-5xl m-0 box-border justify-center items-center h-screen">
<slot />
</main>
</div>

<style>
.app {
display: flex;
flex-direction: column;
min-height: 100vh;
}
main {
flex: 1;
display: flex;
flex-direction: column;
padding: 1rem;
width: 100%;
max-width: 64rem;
margin: 0 auto;
box-sizing: border-box;
justify-content: center;
align-items: center;
}
</style>
19 changes: 7 additions & 12 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,11 @@
import UrlInput from '../lib/components/Urlnput.svelte';
</script>

<main class="container">
<h1 class="text-3xl mb-4">Interclip</h1>
<p class="mb-4">
Input a URL <s>or drag n' drop an image</s>.
</p>
<h1 class="text-3xl mb-4">Interclip</h1>
<p class="mb-4">
Input a URL <s>or drag n' drop an image</s>.
</p>

<div class="row">
<UrlInput />
</div>
</main>

<style>
</style>
<div class="row">
<UrlInput />
</div>

0 comments on commit 65f4ff9

Please sign in to comment.