mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-06-08 02:57:32 +08:00
fix: 更新新增帖子图标类名并调整样式作用域
This commit is contained in:
@@ -16,7 +16,7 @@
|
|||||||
<NuxtPage keepalive />
|
<NuxtPage keepalive />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div v-if="showNewPostIcon && isMobile" class="new-post-icon" @click="goToNewPost">
|
<div v-if="showNewPostIcon && isMobile" class="app-new-post-icon" @click="goToNewPost">
|
||||||
<i class="fas fa-edit"></i>
|
<i class="fas fa-edit"></i>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -74,7 +74,7 @@ const goToNewPost = () => {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style src="~/assets/global.css"></style>
|
<style src="~/assets/global.css"></style>
|
||||||
<style scoped>
|
<style>
|
||||||
.header-container {
|
.header-container {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
@@ -107,7 +107,7 @@ const goToNewPost = () => {
|
|||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.new-post-icon {
|
.app-new-post-icon {
|
||||||
background-color: var(--new-post-icon-color);
|
background-color: var(--new-post-icon-color);
|
||||||
color: white;
|
color: white;
|
||||||
width: 60px;
|
width: 60px;
|
||||||
|
|||||||
Reference in New Issue
Block a user