Skip to content

Commit 2906768

Browse files
voltando ao layout antigo
1 parent ff620a2 commit 2906768

File tree

4 files changed

+16
-14
lines changed

4 files changed

+16
-14
lines changed

resources/views/content/partials/parsed-content.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<section id="preview-container" class="p-4 sm:p-8 shadow sm:rounded-lg col-span-2 h-dvh overflow-y-auto">
1+
<section id="preview-container" class="p-4 sm:p-8 shadow sm:rounded-lg col-span-2">
22
<div id="htmlText" class="parsedown flex flex-col gap-y-2 sm:w-auto">
33
Formatted content will appear here
44
</div>

resources/views/content/partials/write-content.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<section class="col-span-2">
2-
<div class="space-y-6 grow-wrap dont-break-out h-dvh overflow-y-hidden px-1">
3-
<textarea id="text" name="text" type="text" rows="9" cols=""
2+
<div class="space-y-6 grow-wrap dont-break-out">
3+
<textarea id="text" name="text" type="text" rows="10" cols=""
44
class="p-4 sm:p-8 bg-white sm:rounded-lg border-none focus:border-gray-400 focus:ring-gray-400 shadow block w-full"
55
required autofocus autocomplete="text" placeholder="Type here"
66
onInput="this.parentNode.dataset.replicatedValue = this.value"></textarea>

resources/views/editor.blade.php

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<x-app-layout>
2-
<div class=" mx-auto sm:px-6 lg:px-8 space-y-6">
3-
<form action="/generatePdf" method="post">
4-
@csrf
5-
<div class="lg:grid lg:grid-cols-5 lg:space-x-4 space-y-6 lg:space-y-0">
6-
@include('content.partials.style-editor')
7-
8-
@include('content.partials.write-content')
9-
10-
@include('content.partials.parsed-content')
11-
</div>
12-
</form>
2+
<div class="py-8">
3+
<div class=" mx-auto sm:px-6 lg:px-8 space-y-6">
4+
<form action="/generatePdf" method="post">
5+
@csrf
6+
<div class="lg:grid lg:grid-cols-5 lg:space-x-4 space-y-6 lg:space-y-0">
7+
@include('content.partials.style-editor')
8+
@include('content.partials.write-content')
9+
@include('content.partials.parsed-content')
10+
</div>
11+
</form>
12+
</div>
1313
</div>
1414
</x-app-layout>

resources/views/layouts/app.blade.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
<body class="font-sans antialiased">
2121
<div class="min-h-screen bg-gray-100">
2222

23+
@include('layouts.navigation')
24+
2325
<!-- Page Heading -->
2426
@isset($header)
2527
<header class="bg-white shadow">

0 commit comments

Comments
 (0)