1
0
Fork 0
mirror of https://github.com/archtechx/laravel-tips.git synced 2025-12-12 05:14:04 +00:00
This commit is contained in:
Samuel Štancl 2021-04-07 20:38:09 +02:00
parent 733f0aa228
commit 5f456e8901
2 changed files with 5 additions and 1 deletions

View file

@ -34,7 +34,7 @@
@endif @endif
@if ($tip->content) @if ($tip->content)
<div class="prose break-all md:prose-xl"> <div class="prose break-all sm:beak-words md:prose-xl">
{!! Str::of($tip->content)->markdown() !!} {!! Str::of($tip->content)->markdown() !!}
</div> </div>
@endif @endif

View file

@ -7,6 +7,8 @@
<a <a
class="rounded-full shadow-md pointer-events-auto" class="rounded-full shadow-md pointer-events-auto"
href="{{ route('tip.show', $link, false) }}" href="{{ route('tip.show', $link, false) }}"
x-data
@keydown.arrow-left.window="$el.click()"
> >
<div class="flex items-center justify-center w-16 h-16 bg-white rounded-full shadow-2xl"> <div class="flex items-center justify-center w-16 h-16 bg-white rounded-full shadow-2xl">
<svg xmlns="http://www.w3.org/2000/svg" class="w-8 h-8 text-orange-500" fill="none" viewBox="0 0 24 24" <svg xmlns="http://www.w3.org/2000/svg" class="w-8 h-8 text-orange-500" fill="none" viewBox="0 0 24 24"
@ -26,6 +28,8 @@
<a <a
class="rounded-full shadow-md pointer-events-auto" class="rounded-full shadow-md pointer-events-auto"
href="{{ route('tip.show', $link, false) }}" href="{{ route('tip.show', $link, false) }}"
x-data
@keydown.arrow-right.window="$el.click()"
> >
<div class="flex items-center justify-center w-16 h-16 bg-white rounded-full shadow-2xl"> <div class="flex items-center justify-center w-16 h-16 bg-white rounded-full shadow-2xl">
<svg xmlns="http://www.w3.org/2000/svg" class="w-8 h-8 text-orange-500" fill="none" viewBox="0 0 24 24" <svg xmlns="http://www.w3.org/2000/svg" class="w-8 h-8 text-orange-500" fill="none" viewBox="0 0 24 24"