mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-02-20 22:11:01 +08:00
Merge pull request #408 from nagisa77/codex/vditor
fix: offset vditor toolbar when pinned
This commit is contained in:
@@ -65,7 +65,12 @@ body {
|
||||
*************************/
|
||||
.vditor {
|
||||
min-height: 200px;
|
||||
}
|
||||
}
|
||||
|
||||
.vditor-toolbar--pin {
|
||||
top: var(--header-height) !important;
|
||||
}
|
||||
|
||||
/* .vditor {
|
||||
--textarea-background-color: transparent;
|
||||
border: none !important;
|
||||
|
||||
@@ -75,13 +75,11 @@ export default {
|
||||
max-width: var(--page-max-width);
|
||||
background-color: var(--background-color);
|
||||
margin: 0 auto;
|
||||
height: 100%;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.about-tabs {
|
||||
position: sticky;
|
||||
top: 1px;
|
||||
top: calc(var(--header-height) + 1px);
|
||||
z-index: 200;
|
||||
background-color: var(--background-color-blur);
|
||||
display: flex;
|
||||
|
||||
@@ -433,7 +433,7 @@ export default {
|
||||
|
||||
.topic-container {
|
||||
position: sticky;
|
||||
top: 1px;
|
||||
top: calc(var(--header-height) + 1px);
|
||||
z-index: 10;
|
||||
background-color: var(--background-color-blur);
|
||||
display: flex;
|
||||
|
||||
@@ -632,7 +632,7 @@ export default {
|
||||
|
||||
.message-page-header {
|
||||
position: sticky;
|
||||
top: 1px;
|
||||
top: calc(var(--header-height) + 1px);
|
||||
z-index: 200;
|
||||
background-color: var(--background-color-blur);
|
||||
display: flex;
|
||||
|
||||
@@ -261,10 +261,8 @@ export default {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
background-color: var(--background-color);
|
||||
height: 100%;
|
||||
padding-right: 20px;
|
||||
padding-left: 20px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.new-post-form {
|
||||
|
||||
@@ -497,9 +497,6 @@ export default {
|
||||
|
||||
.profile-page {
|
||||
background-color: var(--background-color);
|
||||
height: 100%;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
.profile-page-header {
|
||||
@@ -639,7 +636,7 @@ export default {
|
||||
|
||||
.profile-tabs {
|
||||
position: sticky;
|
||||
top: 1px;
|
||||
top: calc(var(--header-height) + 1px);
|
||||
z-index: 200;
|
||||
background-color: var(--background-color-blur);
|
||||
display: flex;
|
||||
|
||||
Reference in New Issue
Block a user