@visns-studio/visns-components 5.4.19 → 5.4.20

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
@@ -81,7 +81,7 @@
81
81
  "react-dom": "^17.0.0 || ^18.0.0"
82
82
  },
83
83
  "name": "@visns-studio/visns-components",
84
- "version": "5.4.19",
84
+ "version": "5.4.20",
85
85
  "description": "Various packages to assist in the development of our Custom Applications.",
86
86
  "main": "src/index.js",
87
87
  "files": [
@@ -1,5 +1,5 @@
1
- // Import the Login styles to maintain consistency
2
- @import './Login.module.scss';
1
+ // Use the Login styles to maintain consistency
2
+ @use './Login.module.scss' as login;
3
3
 
4
4
  // Additional styles specific to the 2FA component
5
5
  .instructions {
@@ -11,6 +11,14 @@
11
11
  }
12
12
 
13
13
  .login {
14
+ // Instead of extending, copy the necessary properties
15
+ width: 35rem;
16
+ padding: 1rem;
17
+ margin: 0;
18
+ display: grid;
19
+ grid-template-columns: 1fr;
20
+ gap: 0.5rem;
21
+
14
22
  h2 {
15
23
  text-align: center;
16
24
  margin: 0;
@@ -21,6 +29,12 @@
21
29
 
22
30
  // Style for the verification code input
23
31
  .formItem {
32
+ // Instead of extending, copy the necessary properties
33
+ width: 50%;
34
+ position: relative;
35
+ box-sizing: border-box;
36
+ margin-bottom: 0.5rem;
37
+
24
38
  input[name='verificationCode'] {
25
39
  letter-spacing: 0.25rem;
26
40
  font-size: 1.2rem;