forked from infiniflow/infinity
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Render database tree infiniflow#1841
- Loading branch information
Showing
11 changed files
with
424 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
export default async function DatabasePage() { | ||
return <div>DatabasePage</div>; | ||
return <div className="w-1/4 overflow-auto">DatabasePage</div>; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
@keyframes spinner { | ||
0% { | ||
transform: rotate(0deg); | ||
} | ||
100% { | ||
transform: rotate(360deg); | ||
} | ||
} | ||
|
||
.loading-icon { | ||
animation: spinner 1.5s linear infinite; | ||
margin-left: 5px; | ||
} | ||
|
||
.visually-hidden { | ||
position: absolute; | ||
clip-path: circle(0); | ||
border: 0; | ||
height: 1px; | ||
margin: -1px; | ||
overflow: hidden; | ||
padding: 0; | ||
width: 1px; | ||
white-space: nowrap; | ||
} | ||
|
||
.tree-node { | ||
display: flex; | ||
align-items: center; | ||
cursor: pointer; | ||
} | ||
|
||
.tree-node:hover { | ||
background: rgba(255, 255, 255, 0.1); | ||
} | ||
|
||
.tree-node--focused { | ||
background-color: #d7d7d7; | ||
} | ||
|
||
.arrow--open { | ||
transform: rotate(90deg); | ||
} | ||
|
||
.name { | ||
margin-left: 6px; | ||
} |
Oops, something went wrong.