Skip to content

Commit

Permalink
docs: fix registry table rendering for mobile (#4288)
Browse files Browse the repository at this point in the history
Additional styling for the search input.
Remove the table style so table renders with horizontal scrollbar if
necessary.
  • Loading branch information
roele authored Feb 2, 2025
1 parent 2769d89 commit 5de7936
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions docs/components/registry.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
placeholder="Filter by Short or Full"
v-model="filter"
/>
<table class="filtered-table">
<table>
<thead>
<tr>
<th>Short</th>
Expand Down Expand Up @@ -83,11 +83,9 @@ export default {
width: 100%;
padding: 10px;
margin-bottom: 10px;
border: 1px solid #ccc;
border-radius: 5px;
}
.filtered-table {
display: table;
width: 100%;
border-radius: 10px;
background: var(--vp-c-bg-soft);
font-size: 15px;
color: var(--vp-c-text-2);
}
</style>

0 comments on commit 5de7936

Please sign in to comment.