Skip to content

Commit

Permalink
(ui) tinker
Browse files Browse the repository at this point in the history
  • Loading branch information
kevincobain2000 committed Jun 23, 2024
1 parent b75f774 commit 2214838
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions frontend/src/components/Viewer.astro
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const baseURL = import.meta.env.PUBLIC_BASE_URL;
</div>

<script is:inline src="//unpkg.com/[email protected]/dist/cdn.js"></script>

<script is:inline>
let currentURL = new URL(window.location.href);
currentURL = currentURL.origin + currentURL.pathname;
Expand Down
12 changes: 6 additions & 6 deletions frontend/src/components/partials/viewer/Table.astro
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<div>
<div class="overflow-x-auto mt-5 rounded shadow-2xl">
<table
class="w-full text-sm font-mono text-left text-gray-400 border border-gray-900"
class="w-full text-sm font-mono text-left text-gray-400 border border-gray-900 table-fixed"
>
<thead class="text-xs bg-gray-900 text-gray-400">
<tr>
Expand Down Expand Up @@ -123,10 +123,10 @@
>
</template>
</td>
<td class="px-3 py-2 text-gray-600">
<td class="px-3 py-2 text-gray-600 text-xs">
<template x-if="item.agent.device === 'server'">
<svg
class="w-6 h-6 text-gray-500 inline"
class="w-4 h-4 text-gray-600 inline"
aria-hidden="true"
xmlns="http://www.w3.org/2000/svg"
width="24"
Expand All @@ -145,7 +145,7 @@
</template>
<template x-if="item.agent.device === 'desktop'">
<svg
class="w-6 h-6 text-gray-500 inline"
class="w-4 h-4 text-gray-600 inline"
aria-hidden="true"
xmlns="http://www.w3.org/2000/svg"
width="24"
Expand All @@ -164,7 +164,7 @@
</template>
<template x-if="item.agent.device === 'mobile'">
<svg
class="w-6 h-6 text-gray-500 inline"
class="w-4 h-4 text-gray-600 inline"
aria-hidden="true"
xmlns="http://www.w3.org/2000/svg"
width="24"
Expand All @@ -180,7 +180,7 @@
</template>
<template x-if="item.agent.device === 'tablet'">
<svg
class="w-6 h-6 text-gray-500 inline"
class="w-4 h-4 text-gray-600 inline"
aria-hidden="true"
xmlns="http://www.w3.org/2000/svg"
width="24"
Expand Down

0 comments on commit 2214838

Please sign in to comment.