This commit is contained in:
Timothy Jaeryang Baek 2024-12-19 20:11:13 -08:00
parent 38208866b9
commit eabd9192f3
2 changed files with 1 additions and 12 deletions

View File

@ -12,7 +12,7 @@
</script>
<button
class="flex gap-2.5 text-left w-[var(--width)] dark:bg-gray-850 dark:text-white bg-white text-black border border-gray-50 dark:border-gray-800 rounded-xl px-3.5 py-3.5"
class="flex gap-2.5 text-left min-w-[var(--width)] w-full dark:bg-gray-850 dark:text-white bg-white text-black border border-gray-50 dark:border-gray-800 rounded-xl px-3.5 py-3.5"
on:click={() => {
onClick();
dispatch('closeToast');

View File

@ -538,17 +538,6 @@
}
};
const handleGoogleDrivePicker = async () => {
try {
const fileData = await createPicker();
if (fileData) {
await uploadGoogleDriveFile(fileData);
}
} catch (error) {
toast.error('Error accessing Google Drive: ' + error.message);
}
};
const uploadWeb = async (url) => {
console.log(url);