|
18 | 18 | const linux_rpm: Version = { os: 'Linux', arch: '.rpm', ending: 'linux-x86_64.rpm' } |
19 | 19 | const android_obtainium: Version = { os: 'Obtainium', arch: '', ending: '' } |
20 | 20 | const android_arm64: Version = { os: 'Android', arch: 'arm64', ending: '-android-arm64.apk' } |
21 | | - const android_x86_64: Version = { os: 'Android', arch: 'x86_64', ending: '-android-x86_64.apk' } |
| 21 | + const android_x86_64: Version = { os: 'Android', arch: 'x64', ending: '-android-x86_64.apk' } |
22 | 22 |
|
23 | 23 | const desktop_versions: Version[] = [ |
24 | 24 | macos_arm, |
|
182 | 182 | {/if} |
183 | 183 |
|
184 | 184 | <div |
185 | | - class="flex w-full max-w-xl items-stretch rounded-2xl border border-white/10 bg-white/[0.04]" |
| 185 | + class="flex w-full max-w-xl flex-col items-stretch rounded-2xl border border-white/10 bg-white/[0.04] sm:flex-row" |
186 | 186 | > |
187 | 187 | <!-- ── Desktop ── --> |
188 | 188 | <div class="relative z-10 flex flex-1 flex-col gap-2.5 p-5"> |
|
201 | 201 | > |
202 | 202 | Desktop |
203 | 203 | </div> |
204 | | - <p class="-mt-1 text-xs leading-snug text-white/0 select-none" aria-hidden="true">.</p> |
| 204 | + <p |
| 205 | + class="-mt-1 text-xs leading-snug text-white/0 select-none not-sm:hidden" |
| 206 | + aria-hidden="true" |
| 207 | + > |
| 208 | + . |
| 209 | + </p> |
205 | 210 |
|
206 | 211 | <ButtonPopup let:toggle let:isOpen let:close> |
207 | 212 | <div |
|
255 | 260 |
|
256 | 261 | <div |
257 | 262 | slot="popup" |
258 | | - class="dropdown absolute top-full right-0 left-0 overflow-hidden rounded-b-[10px] border border-t-0 border-white/20 bg-white/5 backdrop-blur-xl" |
| 263 | + class="dropdown absolute top-full right-0 left-0 overflow-hidden rounded-b-[10px] border border-t-0 border-white/20 bg-white/5 backdrop-blur-md" |
259 | 264 | style="z-index: 9999;" |
260 | 265 | transition:scale={{ start: 0.95, opacity: 0, duration: 160 }} |
261 | 266 | > |
262 | 267 | {#each desktop_versions as version} |
263 | 268 | <button |
264 | 269 | type="button" |
265 | | - class="dropdown-item flex h-9 w-full cursor-pointer items-center gap-2 bg-transparent px-3.5 text-left text-[13.5px] text-white/80 transition-colors duration-100 outline-none hover:bg-white/[0.06] hover:text-white" |
| 270 | + class="dropdown-item flex h-9 w-full cursor-pointer items-center gap-2 bg-transparent px-3.5 text-left text-[13.5px] text-white/80 outline-none hover:bg-white/5 hover:text-white" |
266 | 271 | on:click={() => { |
267 | 272 | close() |
268 | 273 | download(version) |
|
292 | 297 | </div> |
293 | 298 |
|
294 | 299 | <!-- vertical divider --> |
295 | | - <div class="my-3.5 w-px shrink-0 bg-white/[0.08]"></div> |
| 300 | + <div class="shrink-0 bg-white/10 not-sm:mx-3.5 not-sm:h-px sm:my-3.5 sm:w-px"></div> |
296 | 301 |
|
297 | 302 | <!-- ── Android ── --> |
298 | 303 | <div class="relative z-[5] flex flex-1 flex-col gap-2.5 p-5"> |
|
316 | 321 | href={obtainium_url} |
317 | 322 | target="_blank" |
318 | 323 | rel="noopener noreferrer" |
319 | | - class="flex h-full cursor-pointer items-center gap-1.5 pr-3.5 pl-3 whitespace-nowrap text-white/70 transition-colors duration-150 outline-none hover:text-white" |
| 324 | + class="flex h-full grow cursor-pointer items-center gap-1.5 pr-3.5 pl-3 whitespace-nowrap text-white/70 transition-colors duration-150 outline-none hover:text-white" |
320 | 325 | > |
321 | 326 | <svg |
322 | 327 | width="14" |
|
0 commit comments