Update to 1.0.5

This commit is contained in:
Łukasz Holeczek
2017-11-13 11:38:39 +01:00
parent dd05ddee61
commit a1db02c4d0
12 changed files with 39 additions and 30 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@coreui/vue",
"version": "1.0.4",
"version": "1.0.5",
"description": "Open Source Bootstrap Admin Template",
"author": "Łukasz Holeczek",
"homepage": "http://coreui.io",
+3 -4
View File
@@ -338,17 +338,16 @@ app-root {
}
}
.sidebar,
.sidebar-fixed .sidebar {
.sidebar {
position: fixed;
z-index: $zindex-sticky - 1;
width: $mobile-sidebar-width;
// height: 100%;
height: calc(100vh - #{$navbar-height});
margin-left: - $mobile-sidebar-width;
.sidebar-nav,
.nav {
width: $mobile-sidebar-width !important;
width: $mobile-sidebar-width;
min-height: calc(100vh - #{$navbar-height});
}
+1 -1
View File
@@ -1,6 +1,6 @@
/*!
* CoreUI - Open Source Bootstrap Admin Template
* @version v1.0.4
* @version v1.0.5
* @link http://coreui.io
* Copyright (c) 2017 creativeLabs Łukasz Holeczek
* @license MIT
+1 -1
View File
@@ -1,6 +1,6 @@
<template>
<div class="animated fadeIn">
<p class="text-info">Hello World</p>
Hello World
</div>
</template>
+5 -5
View File
@@ -1,11 +1,11 @@
import Vue from 'vue'
import Dashboard from '@/views/Dashboard'
import Hello from '@/components/Hello'
describe('Dashboard.vue', () => {
describe('Hello.vue', () => {
it('should render correct contents', () => {
const Constructor = Vue.extend(Dashboard)
const Constructor = Vue.extend(Hello)
const vm = new Constructor().$mount()
expect(vm.$el.querySelector('.text-info').textContent)
.to.equal('Hello World')
expect(vm.$el.querySelector('.hello h1').textContent)
.to.equal('Welcome to Your Vue.js App')
})
})