Skip to content

Commit

Permalink
fix: mobile display
Browse files Browse the repository at this point in the history
  • Loading branch information
yjl9903 committed Apr 9, 2023
1 parent 49c8fa9 commit cb29078
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/app/src/components/ResourceTable.astro
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ const DisplayTypeColor: Record<ResourceType, string> = {
<table class="resources-table border-collapse min-y-[1080px]">
<thead class="resources-table-head text-lg border-b border-b-2">
<tr class="">
<th class="py3 w-[160px]">发布时间</th>
<th class="py3 w-[160px] min-w-[100px]">发布时间</th>
<th class="py3 w-[80px]">类型</th>
<th class="py3 text-left px2">标题</th>
<th class="py3 text-left px2 min-w-[600px]">标题</th>
<th class="py3">发布者</th>
<th class="py3 w-[128px] text-left px2">下载</th>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion packages/app/src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ const url = Astro.url.pathname;
}

.main {
--at-apply: mx-w-[90vw] lg:w-[80vw] md:w-[46rem] lt-md:mx-w-[90vw] lt-md:w-[90vw];
--at-apply: mx-w-[90vw] lg:w-[80vw] md:w-[46rem] lt-md:mx-w-[95vw] lt-md:w-[95vw];
--at-apply: mx-auto;
}

Expand Down

0 comments on commit cb29078

Please sign in to comment.