Update to 1.0.5
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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,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,6 +1,6 @@
|
||||
<template>
|
||||
<div class="animated fadeIn">
|
||||
<p class="text-info">Hello World</p>
|
||||
Hello World
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -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')
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user