Skip to content

Commit

Permalink
Compatible browsers
Browse files Browse the repository at this point in the history
  • Loading branch information
NicholasCao authored Oct 13, 2018
1 parent c42197c commit e560ae3
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 6 deletions.
1 change: 1 addition & 0 deletions src/components/navHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ export default {
width 100%
top 0
z-index 100
background #fff
@media screen and (max-width: 900px)
height 70px
animation none
Expand Down
2 changes: 1 addition & 1 deletion src/pages/404/index.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div>
<div style="background:#fff;">
<navHeader></navHeader>
<main>
<h1>404</h1>
Expand Down
6 changes: 4 additions & 2 deletions src/pages/article/index.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div style="height:100%">
<div style="height:100%;background:#fff;">
<navHeader :isShort="asideStatus=='show'||!asideStatus" :class="{'longHeader':asideStatus=='hide','shortHeader':asideStatus=='show'}"></navHeader>
<div id="main">
<aside :class="asideStatus">
Expand Down Expand Up @@ -190,6 +190,7 @@
justify-content center
align-items center
min-height 100%
// background #fff
aside
position fixed
overflow-y: auto
Expand All @@ -199,10 +200,10 @@
left 0
overflow-y: auto
box-shadow 1px 1px 3px rgba(0,0,0,0.25)
background #fff
// padding-left 15px
height 100%
z-index 900
background #fff
@media screen and (max-width: 900px)
box-shadow 0 0 15px rgba(0,0,0,0.2)
#me
Expand Down Expand Up @@ -258,6 +259,7 @@
#article-box
margin-left 250px
width 65%
// background #fff
@media screen and (max-width: 900px)
width 80%
margin-left 0
Expand Down
3 changes: 2 additions & 1 deletion src/pages/home/index.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div>
<div style="background:#fff;">
<navHeader></navHeader>
<div id="article">
<div id="article-box">
Expand Down Expand Up @@ -56,6 +56,7 @@
display flex
justify-content center
align-items center
background #fff
#article-box
width 45%
display flex
Expand Down
2 changes: 1 addition & 1 deletion src/pages/tag/index.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div>
<div style="background:#fff;">
<navHeader></navHeader>
<main>
<h1>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/tags/index.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div>
<div style="background:#fff;">
<navHeader></navHeader>
<main>
<h1>Tags-{{Tags.length}}</h1>
Expand Down

0 comments on commit e560ae3

Please sign in to comment.