enzostvs HF staff commited on
Commit
1003d95
β€’
1 Parent(s): 502ba41

reduce size of infos

Browse files
src/lib/components/models/drawer/Drawer.svelte CHANGED
@@ -103,17 +103,17 @@
103
  {/if}
104
  {#if model?.infos}
105
  <div class="bg-neutral-900/70 rounded-lg border border-neutral-800/20">
106
- <div class="border-b border-neutral-800/80 px-5 py-4">
107
  <p class="text-neutral-400 uppercase text-[10px]">license</p>
108
- <p class="text-neutral-100 font-medium text-sm mt-0.5">{model?.infos?.license ?? 'N/A'}</p>
109
  </div>
110
- <div class="border-b border-neutral-800/80 px-5 py-4">
111
  <p class="text-neutral-400 uppercase text-[10px]">tags</p>
112
- <p class="text-neutral-100 font-medium text-sm mt-0.5">{model?.infos?.tags?.join(', ')}</p>
113
  </div>
114
- <div class="px-5 py-4">
115
  <p class="text-neutral-400 uppercase text-[10px]">base_model</p>
116
- <p class="text-neutral-100 font-medium text-sm mt-0.5">{model?.infos?.base_model ?? 'N/A'}</p>
117
  </div>
118
  </div>
119
  {/if}
 
103
  {/if}
104
  {#if model?.infos}
105
  <div class="bg-neutral-900/70 rounded-lg border border-neutral-800/20">
106
+ <div class="border-b border-neutral-800/80 px-4 py-3">
107
  <p class="text-neutral-400 uppercase text-[10px]">license</p>
108
+ <p class="text-neutral-100 font-medium text-xs mt-0.5">{model?.infos?.license ?? 'N/A'}</p>
109
  </div>
110
+ <div class="border-b border-neutral-800/80 px-4 py-3">
111
  <p class="text-neutral-400 uppercase text-[10px]">tags</p>
112
+ <p class="text-neutral-100 font-medium text-xs mt-0.5">{model?.infos?.tags?.join(', ')}</p>
113
  </div>
114
+ <div class="px-4 py-3">
115
  <p class="text-neutral-400 uppercase text-[10px]">base_model</p>
116
+ <p class="text-neutral-100 font-medium text-xs mt-0.5">{model?.infos?.base_model ?? 'N/A'}</p>
117
  </div>
118
  </div>
119
  {/if}