Skip to content

Commit 7a9e3dc

Browse files
committed
fix: layout issues
1 parent af84369 commit 7a9e3dc

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

index.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,14 @@
4848

4949
<div
5050
id="infoBox"
51-
class="shadow-md items-center absolute top-16 bottom-0 left-0 right-0 h-12 lg:h-14 w-96 p-3 flex-nowrap bg-white flex-row justify-between z-10"
52-
style="max-width: 95vw; overflow-x: clip; white-space: nowrap; display: flex;"
51+
class="shadow-md absolute top-16 left-0 z-10 bg-white flex items-center p-3"
52+
style="width: auto; max-width: 95vw; white-space: nowrap; overflow: hidden;"
5353
>
54-
<span class="text-lg sm:text-xl lg:text-xl">
55-
<span class="text-red-500 font-medium">/|/ </span>
56-
<span id="words">woodworking.android.creaky</span>
54+
<span class="text-lg sm:text-xl lg:text-xl truncate">
55+
<span class="text-red-500 font-medium font-mono tracking-tighter">/|/ </span>
56+
<span id="words" class="truncate">woodworking.android.creaky</span>
5757
</span>
58-
<div class="controls flex-row flex gap-1">
58+
<div class="controls flex gap-1 ml-4">
5959
<button
6060
onclick="shareWords()"
6161
class="bg-yellow-300 hover:bg-yellow-200 font-medium hover:shadow duration-100 w-8 h-8 active:shadow-md"
@@ -70,7 +70,7 @@
7070
</button>
7171
</div>
7272
</div>
73-
73+
7474
<div
7575
id="searchBox"
7676
class="shadow-md absolute top-16 bottom-0 left-0 right-0 h-52 w-96 flex-nowrap overflow-clip flex-col bg-white z-10"
@@ -130,4 +130,4 @@
130130

131131
</body>
132132
</html>
133-
133+

0 commit comments

Comments
 (0)