Skip to content

Commit 82e816f

Browse files
committed
v1.0.2
优化数学公式
1 parent 42fc9b0 commit 82e816f

File tree

5 files changed

+10
-5
lines changed

5 files changed

+10
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "DeepLab",
33
"private": true,
4-
"version": "1.0.1",
4+
"version": "1.0.2",
55
"type": "module",
66
"packageManager": "pnpm@10.30.1",
77
"scripts": {

src-tauri/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src-tauri/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "deeplab"
3-
version = "1.0.1"
3+
version = "1.0.2"
44
description = "AI科研辅助平台"
55
authors = ["timechess"]
66
edition = "2021"

src-tauri/tauri.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://schema.tauri.app/config/2",
33
"productName": "DeepLab",
4-
"version": "1.0.1",
4+
"version": "1.0.2",
55
"identifier": "deeplab",
66
"build": {
77
"beforeDevCommand": "pnpm dev:next",

src/styles/globals.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ pre {
402402
.note-editor .Tiptap-mathematics-render {
403403
display: inline-flex;
404404
align-items: center;
405-
overflow-x: auto;
405+
overflow: visible;
406406
max-width: 100%;
407407
vertical-align: middle;
408408
border: none;
@@ -416,6 +416,8 @@ pre {
416416
.note-editor .Tiptap-mathematics-render--display {
417417
display: block;
418418
width: 100%;
419+
overflow-x: auto;
420+
overflow-y: hidden;
419421
text-align: center;
420422
margin: 0.8rem 0;
421423
padding: 0.2rem 0;
@@ -477,6 +479,8 @@ pre {
477479
}
478480

479481
.note-editor .tiptap-mathematics-render[data-type="block-math"] {
482+
overflow-x: auto;
483+
overflow-y: hidden;
480484
margin: 0.8rem 0;
481485
padding: 0.2rem 0;
482486
border: none;
@@ -485,6 +489,7 @@ pre {
485489
}
486490

487491
.note-editor .tiptap-mathematics-render[data-type="inline-math"] {
492+
overflow: visible;
488493
border: none;
489494
background: transparent;
490495
box-shadow: none;

0 commit comments

Comments
 (0)