💄 样式适配

This commit is contained in:
BTMuli
2026-02-27 23:41:55 +08:00
parent b3997815e1
commit 43de734884
7 changed files with 9 additions and 0 deletions

View File

@@ -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;

View File

@@ -31,6 +31,7 @@ function switchPostWidth(): void {
@include github-styles.github-card;
position: fixed;
z-index: 1;
top: 112px;
left: 16px;
display: flex;

View File

@@ -41,6 +41,7 @@ async function shareContent(): Promise<void> {
.share-box {
position: fixed;
z-index: 1;
top: 16px;
right: 16px;
display: flex;

View File

@@ -43,6 +43,7 @@ onUnmounted(() => {
.switch-box {
position: fixed;
z-index: 1;
top: 16px;
left: 16px;
display: flex;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;
}