Skip to content
This repository was archived by the owner on May 7, 2021. It is now read-only.

Commit 167dffc

Browse files
committed
Change section to header
1 parent 51cd6a4 commit 167dffc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/App.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<template>
22
<div id="app">
33
<error-page v-if="isError"/>
4-
<section id="header">
4+
<header>
55
<router-link :to="{ name: 'home' }">
66
<img class="logo" src="@/assets/logo.svg" alt="ProLab">
77
</router-link>
8-
</section>
8+
</header>
99
<router-view v-show="!isError"/>
1010
</div>
1111
</template>
@@ -43,7 +43,7 @@ body {
4343
height: 100%;
4444
}
4545
46-
#header {
46+
header {
4747
position: fixed;
4848
top: 0;
4949
width: 100%;
@@ -52,15 +52,15 @@ body {
5252
box-shadow: 0 3px 2px black;
5353
}
5454
55-
#header img {
55+
header img {
5656
max-width: 400px;
5757
width: 80%;
5858
margin-left: 5px;
5959
}
6060
6161
6262
@media screen and (max-width: 480px) {
63-
#header img {
63+
header img {
6464
margin-left: 30px;
6565
}
6666
}

0 commit comments

Comments
 (0)