Skip to content

Commit

Permalink
update style
Browse files Browse the repository at this point in the history
  • Loading branch information
3x1io committed Apr 29, 2024
1 parent 3812ded commit cb4ff64
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions resources/views/components/markdown-editor.blade.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<label>
<span class="block mb-1 text-zinc-700 font-sans dark:text-white">{{$label ?? ''}}</span>
</label>
<MdEditor {{ $attributes->only(['v-if', 'v-show', 'class'])->class(['hidden' => $isHidden()]) }}
v-model="{{ $vueModel() }}" language="en-US" :preview="@js($preview)" :toolbars="[
<MdEditor previewTheme="github" theme="dark" {{ $attributes->only(['v-if', 'v-show', 'class'])->class(['hidden' => $isHidden()]) }}
v-model="{{ $vueModel() }}" language="en-US" :preview="@js($preview)" :toolbars="[
'bold',
'underline',
'italic',
Expand Down
2 changes: 1 addition & 1 deletion resources/views/components/markdown-viewer.blade.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<div class="font-main">
<MdPreview editorId="preview-only" modelValue="{{$content}}" language="en-US" class="font-main" />
<MdPreview editorId="preview-only" modelValue="{{$content}}" language="en-US" {{ $attributes }} previewTheme="github" theme="dark" />
</div>

0 comments on commit cb4ff64

Please sign in to comment.