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/dist/adata-ui.common.js +10 -6
- package/dist/adata-ui.common.js.map +1 -1
- package/dist/adata-ui.css +1 -1
- package/dist/adata-ui.umd.js +10 -6
- package/dist/adata-ui.umd.js.map +1 -1
- package/dist/adata-ui.umd.min.js +1 -1
- package/dist/adata-ui.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Header/Header.vue +12 -1
package/package.json
CHANGED
|
@@ -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;
|