mirror of
https://github.com/darksaid98/oxmysql.git
synced 2026-12-01 14:38:50 +00:00
fix(nui): Set resource name overflow to ellipsis
This commit is contained in:
1 parent
1948c783e7
commit
cbf47dc556
2 files changed
+8
-2
No files matched your search
@@ -16,7 +16,13 @@ const LeftBar: React.FC = () => {
|
||||
<VStack align="left">
|
||||
{initData.resources.map((resource, index) => (
|
||||
<Link to={resource} key={`${resource}-${index}`}>
|
||||
<Box _hover={{ transform: 'scale(1.1)', color: 'white' }} color="grey">
|
||||
<Box
|
||||
_hover={{ transform: 'scale(1.1)', color: 'white' }}
|
||||
color="grey"
|
||||
textOverflow="ellipsis"
|
||||
overflow="hidden"
|
||||
whiteSpace="nowrap"
|
||||
>
|
||||
{resource}
|
||||
</Box>
|
||||
</Link>
|
||||
|
||||
@@ -56,7 +56,7 @@ const Resource: React.FC = () => {
|
||||
accessor: 'query',
|
||||
},
|
||||
{
|
||||
Header: 'Execution time',
|
||||
Header: 'Execution time (ms)',
|
||||
accessor: 'executionTime',
|
||||
},
|
||||
],
|
||||
|
||||
Reference in new issue
Block a user