mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-03-19 04:29:45 +08:00
💄 样式适配
This commit is contained in:
@@ -34,6 +34,7 @@ async function switchPin(): Promise<void> {
|
||||
@include github-styles.github-card;
|
||||
|
||||
position: fixed;
|
||||
z-index: 1;
|
||||
top: 64px;
|
||||
left: 16px;
|
||||
display: flex;
|
||||
|
||||
@@ -31,6 +31,7 @@ function switchPostWidth(): void {
|
||||
@include github-styles.github-card;
|
||||
|
||||
position: fixed;
|
||||
z-index: 1;
|
||||
top: 112px;
|
||||
left: 16px;
|
||||
display: flex;
|
||||
|
||||
@@ -41,6 +41,7 @@ async function shareContent(): Promise<void> {
|
||||
|
||||
.share-box {
|
||||
position: fixed;
|
||||
z-index: 1;
|
||||
top: 16px;
|
||||
right: 16px;
|
||||
display: flex;
|
||||
|
||||
@@ -43,6 +43,7 @@ onUnmounted(() => {
|
||||
|
||||
.switch-box {
|
||||
position: fixed;
|
||||
z-index: 1;
|
||||
top: 16px;
|
||||
left: 16px;
|
||||
display: flex;
|
||||
|
||||
@@ -87,6 +87,7 @@ async function switchCollect(): Promise<void> {
|
||||
@include github-styles.github-card;
|
||||
|
||||
position: fixed;
|
||||
z-index: 1;
|
||||
top: 64px;
|
||||
right: 16px;
|
||||
display: flex;
|
||||
|
||||
@@ -211,6 +211,7 @@ async function handleDebug(): Promise<void> {
|
||||
<style lang="scss" scoped>
|
||||
.tpr-main-box {
|
||||
position: fixed;
|
||||
z-index: 1;
|
||||
bottom: 16px;
|
||||
left: 16px;
|
||||
display: flex;
|
||||
|
||||
@@ -489,8 +489,11 @@ function handleUser(user: TGApp.BBS.Post.User): void {
|
||||
@use "@styles/github.styles.scss" as github-styles;
|
||||
|
||||
.tp-post-body {
|
||||
position: relative;
|
||||
width: v-bind(viewWidth); /* stylelint-disable-line value-keyword-case */
|
||||
margin: 0 auto;
|
||||
|
||||
// max-width: calc(100% - 100px);
|
||||
font-family: var(--font-text);
|
||||
transition: width 0.3s ease-in-out;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user