@ysgroup/ui 0.1.2 → 0.1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ysgroup/ui",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "type": "module",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",
@@ -73,18 +73,14 @@ async function submit() {
73
73
 
74
74
  <style scoped>
75
75
  .ys-login {
76
- min-height: 100vh;
77
- min-height: 100dvh;
76
+ height: 100vh;
78
77
  display: flex;
79
78
  align-items: center;
80
79
  justify-content: center;
81
- box-sizing: border-box;
82
- padding: 16px;
83
80
  background: var(--ys-color-bg);
84
81
  }
85
82
  .ys-login__card {
86
- width: min(360px, 100%);
87
- box-sizing: border-box;
83
+ width: 360px;
88
84
  padding: 40px 32px;
89
85
  background: var(--ys-color-bg-elevated);
90
86
  border: 1px solid var(--ys-color-border);
@@ -112,11 +108,6 @@ async function submit() {
112
108
  }
113
109
 
114
110
  @media (max-height: 640px) {
115
- .ys-login {
116
- align-items: flex-start;
117
- overflow-y: auto;
118
- }
119
-
120
111
  .ys-login__card {
121
112
  transform: none;
122
113
  }