Skip to content

Commit

Permalink
Adjust style so original URL scrolls (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
mtlynch authored Jul 17, 2024
1 parent 703d494 commit f951a65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/view/pages/home.templ
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ templ LinksSection() {
</div>
<div x-init="hashes = getLinks()">
<div class="mt-8 flex flex-col">
<div class="-mt-2 mb-5 -mx-4 overflow-x-auto sm:-mx-6 lg:-mx-8">
<div class="-mt-2 mb-5 -mx-4 sm:-mx-6 lg:-mx-8">
<div class="inline-block min-w-full py-2 align-middle md:px-6 lg:px-8">
<div class="overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg">
<table class="min-w-full divide-y divide-gray-300">
Expand Down Expand Up @@ -153,7 +153,7 @@ templ LinksSection() {
<template x-for="hash in hashes.reverse()" :key="hash.hash">
<tr>
<td class="whitespace-nowrap py-4 pl-4 pr-3 text-sm font-medium text-gray-900 sm:pl-6">
<span x-text="hash.long_url"></span>
<span class="block max-w-xl overflow-x-auto" x-text="hash.long_url"></span>
</td>
<td class="whitespace-nowrap px-3 py-4 text-sm text-gray-500">
<a
Expand Down

0 comments on commit f951a65

Please sign in to comment.