@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.
@@ -44,10 +44,11 @@
44
44
  .sidebar-container {
45
45
  display: grid;
46
46
  grid-template-columns: 15em 1fr;
47
- min-height: calc(100dvh - var(--top-bar-height, 0px));
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-bottom: 5em;
113
+ padding: 1em 1em 5em;
119
114
  grid-column: 1;
115
+ overflow-y: visible;
120
116
  }
121
117
  }
122
118
 
@@ -21,7 +21,7 @@
21
21
  <UserPFP {user} --size="2.5em" />
22
22
  <div>
23
23
  <strong>{user.name}</strong>
24
- {#if user.email}<span class="subtle">{user.email}</span>{/if}
24
+ <span class="subtle">{user.username}</span>
25
25
  </div>
26
26
  </div>
27
27
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axium/client",
3
- "version": "0.39.0",
3
+ "version": "0.39.2",
4
4
  "author": "James Prevett <jp@jamespre.dev>",
5
5
  "funding": {
6
6
  "type": "individual",
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: inherit;
26
- top: var(--top-bar-height, 0px);
22
+ background-color: var(--bg-menu);
23
+ top: 0;
27
24
  z-index: 1;
28
25
 
29
26
  @media (width < 700px) {