style: reduce px on main layout
This commit is contained in:
@@ -79,8 +79,8 @@
|
||||
}
|
||||
|
||||
function formatName(name: string): string {
|
||||
if (name.length > 50) {
|
||||
name = name.slice(0, 50).concat("...");
|
||||
if (name.length > 65) {
|
||||
name = name.slice(0, 65).concat("...");
|
||||
}
|
||||
return name;
|
||||
}
|
||||
@@ -93,7 +93,7 @@
|
||||
}
|
||||
</script>
|
||||
|
||||
<div class="w-full px-16 py-8">
|
||||
<div class="w-full px-4 py-8">
|
||||
<h1 class="text-4xl text-white mb-6" style="font-family: 'Caveat', cursive;">rafi</h1>
|
||||
|
||||
<div class="flex justify-center mb-4">
|
||||
@@ -106,7 +106,7 @@
|
||||
</div>
|
||||
|
||||
<input type="file" bind:this={fileInput} onchange={uploadFile} class="hidden" />
|
||||
<div class="flex justify-start mb-1">
|
||||
<div class="mb-1">
|
||||
<button class="px-2 py-1 border border-sky-200/20 text-white/60 hover:border-sky-200/40 text-sm transition-colors rounded-sm cursor-pointer" onclick={openFilePicker}>
|
||||
Import
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user