feat(创建编辑): 支持字体切换与文字等比缩放
build.yaml / build (push) Successful in 38s

This commit is contained in:
xiaoqidun committed 2026-09-15 16:50:40 +08:00
1 parent 1c20287807
commit e9d9ba0add
6 files changed
+142 -68

No files matched your search

+14 -4
View File
@@ -108,11 +108,15 @@ a:focus-visible {
grid-template-columns: repeat(5, max-content);
}
.editor-group:has(#insertTextButton),
.editor-group:has(#textSize) {
.editor-group:has(#insertTextButton) {
grid-template-columns: repeat(2, max-content);
}
#textFont {
width: 128px;
min-width: 0;
}
.editor-group:has(#addPageButton) {
grid-template-columns: repeat(6, max-content);
}
@@ -308,14 +312,20 @@ button:not(:disabled):hover {
padding: 0;
border: 0;
outline: 0;
appearance: textfield;
text-align: center;
color: #1f2428;
background: transparent;
}
.page-control input,
.text-size input {
appearance: textfield;
}
.page-control input::-webkit-inner-spin-button,
.page-control input::-webkit-outer-spin-button {
.page-control input::-webkit-outer-spin-button,
.text-size input::-webkit-inner-spin-button,
.text-size input::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}