@axium/client 0.19.2 → 0.19.3

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/assets/styles.css CHANGED
@@ -18,28 +18,6 @@ a {
18
18
  color: inherit;
19
19
  }
20
20
 
21
- .main {
22
- padding: 2em;
23
- border-radius: 1em;
24
- background-color: var(--bg-menu);
25
- display: flex;
26
- flex-direction: column;
27
- gap: 1em;
28
- }
29
-
30
- .main-container:has(form.main) {
31
- position: absolute;
32
- inset: 0;
33
- display: flex;
34
- justify-content: center;
35
- align-items: center;
36
- }
37
-
38
- form.main {
39
- width: max-content;
40
- height: max-content;
41
- }
42
-
43
21
  form {
44
22
  div:has(label ~ input),
45
23
  div:has(label ~ textarea),
@@ -360,7 +338,7 @@ div.toast {
360
338
 
361
339
  @media (width < 700px) {
362
340
  .mobile-hide {
363
- display: none;
341
+ display: none !important;
364
342
  }
365
343
 
366
344
  .mobile-button {
@@ -65,7 +65,7 @@
65
65
 
66
66
  <dialog bind:this={dialog} {onclose} {...rest} onclick={e => e.stopPropagation()} {@attach closeOnBackGesture}>
67
67
  {@render header?.()}
68
- <form {onsubmit} class="main" method="dialog">
68
+ <form {onsubmit} method="dialog">
69
69
  {#if error}
70
70
  <div class="error">{error}</div>
71
71
  {/if}
@@ -89,4 +89,20 @@
89
89
  flex-direction: row;
90
90
  justify-content: space-between;
91
91
  }
92
+
93
+ form {
94
+ padding: 2em;
95
+ border-radius: 1em;
96
+ background-color: var(--bg-menu);
97
+ display: flex;
98
+ flex-direction: column;
99
+ gap: 1em;
100
+
101
+ width: max-content;
102
+ height: max-content;
103
+
104
+ @media (width < 700px) {
105
+ padding: 1em;
106
+ }
107
+ }
92
108
  </style>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axium/client",
3
- "version": "0.19.2",
3
+ "version": "0.19.3",
4
4
  "author": "James Prevett <jp@jamespre.dev>",
5
5
  "funding": {
6
6
  "type": "individual",
@@ -1,7 +1,12 @@
1
1
  .section {
2
2
  width: 50%;
3
3
  min-width: fit-content;
4
- padding-top: 2em;
4
+ padding: 2em;
5
+ border-radius: 1em;
6
+ background-color: var(--bg-menu);
7
+ display: flex;
8
+ flex-direction: column;
9
+ gap: 1em;
5
10
 
6
11
  /* This is causing duplicate separators when removing sessions/passkeys
7
12
  > div:has(+ div) {