adata-ui 0.1.10 → 0.1.11

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": "adata-ui",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <header class="a-header" :class="{'bordered': isBordered}">
2
+ <header class="a-header" :class="[{'bordered': isBordered}, {'fixed': isFixed}]">
3
3
  <div class="container">
4
4
  <div class="a-header__left">
5
5
  <a class="logo" :href="toAdtdev('https://adata.kz')">
@@ -97,6 +97,10 @@ export default {
97
97
  type: Boolean,
98
98
  default: false
99
99
  },
100
+ isFixed: {
101
+ type: Boolean,
102
+ default: false
103
+ },
100
104
  requestCount: {
101
105
  type: Number,
102
106
  default: null
@@ -191,6 +195,13 @@ export default {
191
195
  border-bottom: 1px solid #2C3E5026;
192
196
  }
193
197
 
198
+ &.fixed {
199
+ position: fixed;
200
+ z-index: 1000;
201
+ top: 0;
202
+ left: 0;
203
+ }
204
+
194
205
  & > .container {
195
206
  width: 100%;
196
207
  display: flex;