Skip to content

Commit

Permalink
Repo 的界面 layout 优化 (OpenCSGs#109)
Browse files Browse the repository at this point in the history
* Update border when model and dataset

* Update RepoSummary.vue

* Update border

---------

Co-authored-by: 朱鑫睿 <[email protected]>
  • Loading branch information
zzxr6 and 朱鑫睿 authored Mar 29, 2024
1 parent 20e475b commit 18908c0
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/javascript/components/shared/RepoSummary.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="flex min-h-[300px] md:px-5 md:flex-col-reverse">
<div class="flex md:px-5 md:flex-col-reverse h-[calc(100vh-381px)]">
<div class="max-w-[60%] sm:max-w-[100%] pt-4 pb-10 pr-5 sm:pr-0 break-words flex-1 border-t border-[#EBEEF5] md:border-t-0">
<el-skeleton v-if="loading" class="mt-4" :rows="5" animated />
<ParquetViewer v-if="previewData.data" :previewData="previewData.data" />
Expand Down
2 changes: 1 addition & 1 deletion app/views/application_spaces/show.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="bg-white border-b border-[#EBEEF5]">
<div class="bg-white">
<application-space-detail
:tags="<%= @tags %>"
local-repo-id="<%= @local_application_space.id %>"
Expand Down
2 changes: 1 addition & 1 deletion app/views/codes/show.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="bg-white border-b border-[#EBEEF5]">
<div class="bg-white">
<code-detail
:tags="<%= @tags %>"
local-repo-id="<%= @local_code.id %>"
Expand Down
2 changes: 1 addition & 1 deletion app/views/datasets/show.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="bg-white border-b border-[#EBEEF5]">
<div class="bg-white">
<dataset-detail
:tag-list="<%= @tags_list.to_json %>"
:tags="<%= @tags %>"
Expand Down
2 changes: 1 addition & 1 deletion app/views/models/show.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="bg-white border-b border-[#EBEEF5]">
<div class="bg-white">
<model-detail
:tag-list="<%= @tags_list.to_json %>"
:tags="<%= @tags %>"
Expand Down

0 comments on commit 18908c0

Please sign in to comment.