💄 处理特定情况下的内容溢出,调整Sql创建

This commit is contained in:
目棃
2024-10-10 09:30:30 +08:00
parent 3112b2e41a
commit 6b34ae612c
2 changed files with 3 additions and 15 deletions

View File

@@ -75,6 +75,8 @@ function getTextStyle(): StyleValue {
const style = <Array<StyleValue>>[];
const data: TpText = props.data;
style.push("white-space: pre-wrap");
style.push("line-break: anywhere");
style.push("word-break: break-all");
if (data.attributes) {
const ruleBold: StyleValue = "fontFamily: var(--font-title)";
const ruleItalic: StyleValue = "fontStyle: italic";

View File

@@ -1,9 +1,7 @@
-- @file plugins/Sqlite/sql/createTable.sql
-- @brief sqlite数据库创建表语句
-- @since Beta v0.6.0
-- @since Beta v0.6.1
-- @brief 重新创建成就数据表
drop table if exists Achievements;
-- @brief 创建成就数据表
create table if not exists Achievements
(
@@ -16,12 +14,6 @@ create table if not exists Achievements
primary key (id, uid)
);
-- @brief 移除成就系列数据表
drop table if exists AchievementSeries;
-- @brief 移除角色数据表
drop table if exists AppCharacters;
-- @brief 创建应用数据表
create table if not exists AppData
(
@@ -39,9 +31,6 @@ create table if not exists UserAccount
updated text
);
-- @brief 重新创建账号数据表
drop table if exists GameAccount;
-- @brief 创建游戏账号数据表
create table if not exists GameAccount
(
@@ -58,9 +47,6 @@ create table if not exists GameAccount
primary key (uid, gameUid)
);
-- @brief 移除名片表
drop table if exists NameCard;
-- @brief 创建深渊数据表
create table if not exists SpiralAbyss
(