fix layout, copy, return button

This commit is contained in:
Ayres Vitor
2025-12-09 23:26:36 -03:00
parent 5e48749304
commit 69ad3335ee
2 changed files with 11 additions and 3 deletions

View File

@@ -7,6 +7,10 @@ const { resources, count, generated } = communityResourcesData;
const filteredResources = resources.filter((item) => !item.repository?.includes('tauri-apps'));
---
<p>
<a href="javascript:history.back()"><Icon name="left-arrow" class="inline" />Return</a>
</p>
<community-resources>
<div class="search-container">
<input
@@ -26,7 +30,7 @@ const filteredResources = resources.filter((item) => !item.repository?.includes(
<option value="crates">crates only</option>
</select>
</label>
<label>
<label style="margin-top:0!important">
<span>Sort by:</span>
<select id="sort-by" class="filter-select">
<option value="date">Date Created</option>
@@ -113,6 +117,11 @@ const filteredResources = resources.filter((item) => !item.repository?.includes(
</community-resources>
<style>
.inline {
display: inline-block;
vertical-align: middle;
}
community-resources {
display: block;
width: 100%;
@@ -239,7 +248,6 @@ const filteredResources = resources.filter((item) => !item.repository?.includes(
.name-cell code {
font-size: 0.85rem;
color: var(--sl-color-text-accent);
background: transparent;
padding: 0;
white-space: nowrap;

View File

@@ -12,7 +12,7 @@ import CommunityResources from '@components/CommunityResources.astro';
:::danger
These plugins are extracted from [crates.io](https://crates.io/) and [npmjs.com](https://www.npmjs.com/). Be advised that these are
external resources and are neither maintained nor endorsed by the Tauri Team, always exercise caution.
external resources and are neither maintained nor endorsed by the Tauri Working Group, always exercise caution.
:::