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