@axium/client 0.39.0 → 0.39.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/SidebarLayout.svelte +6 -10
- package/lib/UserMenu.svelte +1 -1
- package/package.json +1 -1
- package/styles/list.css +2 -5
package/lib/SidebarLayout.svelte
CHANGED
|
@@ -44,10 +44,11 @@
|
|
|
44
44
|
.sidebar-container {
|
|
45
45
|
display: grid;
|
|
46
46
|
grid-template-columns: 15em 1fr;
|
|
47
|
-
|
|
47
|
+
height: calc(100dvh - var(--top-bar-height, 0px));
|
|
48
48
|
|
|
49
49
|
@media (width < 700px) {
|
|
50
50
|
grid-template-columns: 1fr;
|
|
51
|
+
height: auto;
|
|
51
52
|
}
|
|
52
53
|
}
|
|
53
54
|
|
|
@@ -59,18 +60,11 @@
|
|
|
59
60
|
gap: 0.5em;
|
|
60
61
|
padding: 0 1em 1em 0;
|
|
61
62
|
border-radius: 0 1em 1em 0;
|
|
62
|
-
position: sticky;
|
|
63
|
-
top: var(--top-bar-height, 0px);
|
|
64
|
-
align-self: start;
|
|
65
|
-
height: calc(100dvh - var(--top-bar-height, 0px));
|
|
66
|
-
overflow-y: auto;
|
|
67
63
|
|
|
68
64
|
@media (width < 700px) {
|
|
69
65
|
position: fixed;
|
|
70
66
|
grid-column: unset;
|
|
71
67
|
inset: auto 0 0;
|
|
72
|
-
height: auto;
|
|
73
|
-
overflow-y: visible;
|
|
74
68
|
border-radius: 1em;
|
|
75
69
|
display: flex;
|
|
76
70
|
flex-direction: row;
|
|
@@ -110,13 +104,15 @@
|
|
|
110
104
|
|
|
111
105
|
.sidebar-content {
|
|
112
106
|
grid-column: 2;
|
|
113
|
-
padding: 1em;
|
|
107
|
+
padding: 0 1em 1em;
|
|
114
108
|
min-width: 0;
|
|
115
109
|
overflow-x: clip;
|
|
110
|
+
overflow-y: auto;
|
|
116
111
|
|
|
117
112
|
@media (width < 700px) {
|
|
118
|
-
padding
|
|
113
|
+
padding: 1em 1em 5em;
|
|
119
114
|
grid-column: 1;
|
|
115
|
+
overflow-y: visible;
|
|
120
116
|
}
|
|
121
117
|
}
|
|
122
118
|
|
package/lib/UserMenu.svelte
CHANGED
package/package.json
CHANGED
package/styles/list.css
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
div:has(> .list) {
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
|
-
min-height: 0;
|
|
5
|
-
overflow-y: clip;
|
|
6
4
|
|
|
7
5
|
> :where(button),
|
|
8
6
|
> .Popover > :where(button) {
|
|
@@ -13,7 +11,6 @@ div:has(> .list) {
|
|
|
13
11
|
.list {
|
|
14
12
|
display: flex;
|
|
15
13
|
flex-direction: column;
|
|
16
|
-
min-height: 0;
|
|
17
14
|
overflow-x: clip;
|
|
18
15
|
margin: 0.5em 0;
|
|
19
16
|
}
|
|
@@ -22,8 +19,8 @@ div.list-header {
|
|
|
22
19
|
font-weight: bold;
|
|
23
20
|
border-bottom: 1.5px solid var(--fg-accent);
|
|
24
21
|
position: sticky;
|
|
25
|
-
background-color:
|
|
26
|
-
top:
|
|
22
|
+
background-color: var(--bg-menu);
|
|
23
|
+
top: 0;
|
|
27
24
|
z-index: 1;
|
|
28
25
|
|
|
29
26
|
@media (width < 700px) {
|