mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 13:24:03 +00:00
UX
This commit is contained in:
parent
733f0aa228
commit
5f456e8901
2 changed files with 5 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue