@appscode/design-system 1.1.0-beta.82 → 1.1.0-beta.85

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": "@appscode/design-system",
3
- "version": "1.1.0-beta.82",
3
+ "version": "1.1.0-beta.85",
4
4
  "description": "A design system for Appscode websites and dashboards made using Bulma",
5
5
  "main": "main.scss",
6
6
  "scripts": {
@@ -63,7 +63,7 @@ const NavbarItemContent = defineAsyncComponent(
63
63
  </template>
64
64
  <template #navbar-content>
65
65
  <navbar-item-content class="navbar-dropdown-wrapper" style="right: -30px">
66
- <ul>
66
+ <ul class="ac-scrollbar p-0">
67
67
  <li v-for="app in apps" :key="app.url">
68
68
  <a :href="app.url">
69
69
  <article class="media">
@@ -103,6 +103,8 @@ const NavbarItemContent = defineAsyncComponent(
103
103
  background-color: $white-100;
104
104
  border: 1px solid $primary-90;
105
105
  // box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.16);
106
+ max-height: calc(100vh - 100px);
107
+ overflow-y: auto;
106
108
 
107
109
  li {
108
110
  display: block;
@@ -11,7 +11,6 @@
11
11
  position: absolute;
12
12
  right: 0;
13
13
  top: 80px;
14
- // box-shadow: $ac-shadow-1;
15
14
  min-width: 180px;
16
15
  opacity: 0;
17
16
  visibility: hidden;
@@ -20,10 +19,6 @@
20
19
  box-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1),
21
20
  0 0px 0 1px rgba(10, 10, 10, 0.02);
22
21
 
23
- // &.theme-choice {
24
- // left: 0;
25
- // }
26
-
27
22
  &.quick-access {
28
23
  background-color: $white-100;
29
24
  padding: 20px;
@@ -66,7 +66,7 @@ function notificationTime(time: number) {
66
66
  <span>{{ notifications.length }}</span>
67
67
  </div>
68
68
 
69
- <div class="notification-body">
69
+ <div class="notification-body ac-scrollbar p-0">
70
70
  <a
71
71
  v-for="data in notifications"
72
72
  href="#"
@@ -141,6 +141,8 @@ function notificationTime(time: number) {
141
141
  }
142
142
  }
143
143
  .notification-body {
144
+ max-height: calc(100vh - 100px);
145
+ overflow-y: auto;
144
146
  a {
145
147
  display: flex;
146
148
  color: $primary-20;
@@ -136,7 +136,11 @@ watch(dropDownStatus, (n) => {
136
136
  <a :href="`mailto:${user.email}`"> {{ user.email }}</a>
137
137
  </div>
138
138
  </div>
139
- <transition-group name="list" tag="ul" class="list-items py-2">
139
+ <transition-group
140
+ name="list"
141
+ tag="ul"
142
+ class="list-items py-2 ac-scrollbar px-0"
143
+ >
140
144
  <li key="settings">
141
145
  <a
142
146
  data-testid="user-settings-link"
@@ -302,6 +306,10 @@ watch(dropDownStatus, (n) => {
302
306
  }
303
307
  }
304
308
  }
309
+ .list-items {
310
+ max-height: calc(100vh - 100px);
311
+ overflow-y: auto;
312
+ }
305
313
  }
306
314
 
307
315
  .ac-menu-item {