mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
small design review
This commit is contained in:
1 parent
532db68aaf
commit
5489e602ca
3 files changed
+24
-12
No files matched your search
@@ -288,9 +288,11 @@ export const commandGroupRanks = derived(groupRanksMap, ($groupRankTransformatio
|
||||
const initialRanks = {
|
||||
...Object.fromEntries(groups.map((group) => [group, 0])),
|
||||
ungrouped: 9999,
|
||||
databases: 3,
|
||||
users: 2,
|
||||
teams: 1,
|
||||
databases: 4,
|
||||
users: 3,
|
||||
teams: 2,
|
||||
projects: 1,
|
||||
organizations: 0,
|
||||
navigation: -10,
|
||||
help: -20,
|
||||
misc: -30
|
||||
|
||||
@@ -458,6 +458,8 @@
|
||||
position: relative;
|
||||
z-index: 10;
|
||||
|
||||
font-size: 10px !important;
|
||||
|
||||
&:not(:first-child) {
|
||||
margin-block-start: 1rem;
|
||||
}
|
||||
@@ -475,12 +477,28 @@
|
||||
}
|
||||
|
||||
.option {
|
||||
padding: 0.5rem 0.75rem;
|
||||
padding: 0.5rem 9.5px;
|
||||
font-size: 14px;
|
||||
position: relative;
|
||||
z-index: 10;
|
||||
width: 100%;
|
||||
|
||||
box-shadow: none !important;
|
||||
|
||||
:global(i[class^='icon-']) {
|
||||
font-size: 1rem !important;
|
||||
width: 1rem !important;
|
||||
height: 1rem !important;
|
||||
|
||||
position: relative;
|
||||
}
|
||||
|
||||
:global(i[class^='icon-']::before) {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
translate: -50% -50%;
|
||||
}
|
||||
}
|
||||
|
||||
&.nested {
|
||||
|
||||
@@ -67,14 +67,6 @@
|
||||
keys: ['c', 'o'],
|
||||
group: 'organizations'
|
||||
},
|
||||
{
|
||||
label: 'Go to home',
|
||||
callback: () => {
|
||||
goto('/console');
|
||||
},
|
||||
keys: ['h'],
|
||||
group: 'navigation'
|
||||
},
|
||||
{
|
||||
label: 'Open documentation',
|
||||
callback: () => {
|
||||
|
||||
Reference in new issue
Block a user