Skip to content

Commit 1a4ddbf

Browse files
committed
Merge branch 'master' of github.com:luaChina/lua-china
2 parents 3dc0e36 + 1ea6c0a commit 1a4ddbf

File tree

10 files changed

+19629
-18422
lines changed

10 files changed

+19629
-18422
lines changed

assets/sass/markdown-editor.scss

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,19 @@
77
display: block;
88
overflow-x: auto;
99
margin: 10px 0 0 0;
10-
padding: 0.5em;
10+
padding: 1em;
1111
background: #282a36;
1212
color: #ffffff;
1313
letter-spacing: -0.3px;
14-
font-family: Menlo, Monaco, Consolas, Liberation Mono, Courier New,
14+
font-family: Consolas, Monaco, Liberation Mono, Courier New,
1515
monospace;
1616
border: 0;
1717
border-radius: 0;
18-
line-height: 1.5;
18+
line-height: 1.8;
19+
word-spacing: normal;
20+
word-wrap: normal;
21+
tab-size: 4;
22+
word-break: normal;
1923
}
2024
h1 {
2125
font-size: 1.4rem;

components/app-header.vue

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
id="navbarSupportedContent"
2525
>
2626
<ul class="navbar-nav me-auto">
27-
<li class="nav-item mr-2">
27+
<li class="nav-item me-2">
2828
<router-link
2929
class="nav-link"
3030
to="/"
@@ -34,7 +34,7 @@
3434
>文章</router-link
3535
>
3636
</li>
37-
<li class="nav-item mr-2">
37+
<li class="nav-item me-2">
3838
<a
3939
class="nav-link"
4040
href="https://www.github.com/horan-geeker/nana"
@@ -43,7 +43,7 @@
4343
>Nana</a
4444
>
4545
</li>
46-
<li class="nav-item mr-2">
46+
<li class="nav-item me-2">
4747
<a
4848
class="nav-link"
4949
href="https://konghq.com/"
@@ -59,7 +59,7 @@
5959
<router-link to="/login" rel="nofollow">
6060
<button
6161
type="button"
62-
class="btn btn-outline-secondary mr-2"
62+
class="btn btn-outline-secondary me-2"
6363
>
6464
<i class="bi bi-person-fill"></i>
6565
<span> 登录</span>
@@ -229,6 +229,7 @@ export default {
229229
}
230230
if (response.data.data) {
231231
this.user = response.data.data
232+
localStorage.set("user", this.user);
232233
}
233234
});
234235
}

0 commit comments

Comments
 (0)