Skip to content

Commit

Permalink
Fix URL preview text color in dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
thecodeholic committed Dec 23, 2023
1 parent 91f6ae5 commit d7c00e5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions resources/js/Components/app/PostModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ function submit() {
form.post(route('post.update', props.post.id), {
preserveScroll: true,
onSuccess: (res) => {
console.log(res)
closeModal()
},
onError: (errors) => {
Expand Down Expand Up @@ -218,7 +217,6 @@ function fetchPreview(url) {
function onInputChange() {
console.log("222222222")
let url = matchHref()
if (!url) {
Expand Down
2 changes: 1 addition & 1 deletion resources/js/Components/app/UrlPreview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ defineProps({
<img :src="preview.image"
class="max-w-full"
:alt="preview.title"/>
<div class="p-2">
<div class="p-2 dark:text-gray-900">
<h3 class="font-semibold">{{ preview.title }}</h3>
<p class="text-sm m-none">{{ preview.description }}</p>
</div>
Expand Down

0 comments on commit d7c00e5

Please sign in to comment.