@hellobetterdigitalnz/selwynui 0.0.1-93 → 0.0.1-94

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": "@hellobetterdigitalnz/selwynui",
3
- "version": "0.0.1-93",
3
+ "version": "0.0.1-94",
4
4
  "type": "module",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.es.js",
@@ -71,6 +71,7 @@
71
71
  img {
72
72
  width: 100%;
73
73
  padding: 32px 0;
74
+ border-radius: 12px;
74
75
  }
75
76
  }
76
77
  }
@@ -91,14 +92,13 @@
91
92
  }
92
93
 
93
94
  button {
94
- display: inline-flex;
95
- flex-wrap: nowrap;
95
+ display: flex;
96
96
  margin-top: 16px;
97
+ width: fit-content;
97
98
  }
98
99
 
99
100
  img {
100
101
  width: 100%;
101
- height: 450px;
102
102
  border-radius: 12px;
103
103
  object-fit: cover;
104
104
  }
@@ -27,7 +27,11 @@
27
27
 
28
28
  .megaMenuHolder{
29
29
  height: 100%;
30
+ // max-height: calc(100vh - 96px);
30
31
  position: relative;
32
+ // overflow-y: scroll;
33
+ // scrollbar-width: none;
34
+ // -ms-overflow-style: none;
31
35
  }
32
36
 
33
37
  .megaMenuWrapper{
@@ -43,6 +47,8 @@
43
47
  .left{
44
48
  padding: 96px 120px 96px 0;
45
49
  width: 60%;
50
+ height: calc(100vh - 96px);
51
+ overflow-y: scroll;
46
52
 
47
53
  ul{
48
54
  list-style: none;
@@ -91,7 +97,7 @@
91
97
  min-width: 50vw;
92
98
 
93
99
  .previewImg{
94
- height: 452px;
100
+ height: 294px;
95
101
 
96
102
  img{
97
103
  width: 100%;
@@ -103,7 +109,7 @@
103
109
  .content{
104
110
  padding-top: 64px;
105
111
  padding-left: 72px;
106
- max-width: 479px;
112
+ max-width: 551px;
107
113
  color: var(--color-bg);
108
114
 
109
115
  h5{
@@ -123,10 +129,23 @@
123
129
  padding-top: 48px;
124
130
  padding-bottom: 24px;
125
131
  padding-left: 72px;
132
+ display: inline-flex;
126
133
  }
127
134
 
128
135
  }
129
136
 
137
+ @media screen and (max-width:960px) {
138
+ .menuDropdown {
139
+ .megaMenu {
140
+ height: calc(100vh - 96px);
141
+ overflow-y: scroll;
142
+ max-height: calc(100vh - 96px);
143
+ scrollbar-width: none;
144
+ -ms-overflow-style: none;
145
+ }
146
+ }
147
+ }
148
+
130
149
 
131
150
  @media screen and (max-width: 1340px) {
132
151
  .megaMenuWrapper{