Bump app version to 0.5.0 and implement offline mode support across components
- Added offline detection logic with `OfflineContext` to improve app functionality in offline scenarios. - Integrated Tauri IPC functions to handle local tool settings and character attributes when offline. - Refined indentation logic in `TextEditor` for better compatibility with WebKit engines. - Removed unused `indent` property and related settings in editor components to simplify configuration. - Updated locale files with improved translation consistency and parameterized placeholders.
This commit is contained in:
@@ -284,62 +284,6 @@ body {
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
.indent-0 {
|
||||
text-indent: 0px !important;
|
||||
}
|
||||
|
||||
.indent-1 {
|
||||
text-indent: 4px !important;
|
||||
}
|
||||
|
||||
.indent-2 {
|
||||
text-indent: 8px !important;
|
||||
}
|
||||
|
||||
.indent-3 {
|
||||
text-indent: 12px !important;
|
||||
}
|
||||
|
||||
.indent-4 {
|
||||
text-indent: 16px !important;
|
||||
}
|
||||
|
||||
.indent-5 {
|
||||
text-indent: 20px !important;
|
||||
}
|
||||
|
||||
.indent-6 {
|
||||
text-indent: 24px !important;
|
||||
}
|
||||
|
||||
.indent-7 {
|
||||
text-indent: 28px !important;
|
||||
}
|
||||
|
||||
.indent-8 {
|
||||
text-indent: 32px !important;
|
||||
}
|
||||
|
||||
.indent-9 {
|
||||
text-indent: 36px !important;
|
||||
}
|
||||
|
||||
.indent-10 {
|
||||
text-indent: 40px !important;
|
||||
}
|
||||
|
||||
.indent-11 {
|
||||
text-indent: 44px !important;
|
||||
}
|
||||
|
||||
.indent-12 {
|
||||
text-indent: 48px !important;
|
||||
}
|
||||
|
||||
.indent-13 {
|
||||
text-indent: 52px !important;
|
||||
}
|
||||
|
||||
/* Styles pour l'éditeur principal avec classes dynamiques */
|
||||
.editor-content .tiptap > p:first-child,
|
||||
.editor-content .tiptap > h1:first-child,
|
||||
@@ -350,14 +294,17 @@ body {
|
||||
|
||||
.editor-content .tiptap p {
|
||||
color: var(--color-editor-text);
|
||||
text-indent: 1.25rem;
|
||||
overflow-wrap: anywhere;
|
||||
margin-top: 0.7em;
|
||||
margin-bottom: 0.7em;
|
||||
}
|
||||
|
||||
.editor-content .tiptap p {
|
||||
text-indent: inherit;
|
||||
.no-text-indent .editor-content .tiptap p {
|
||||
text-indent: 0;
|
||||
}
|
||||
|
||||
|
||||
.editor-content .tiptap p strong {
|
||||
font-weight: 900;
|
||||
color: var(--color-editor-bold);
|
||||
@@ -628,11 +575,17 @@ body {
|
||||
|
||||
.tiptap-draft p {
|
||||
font-family: 'Lora', sans-serif;
|
||||
text-indent: 30px;
|
||||
text-indent: 1.25rem;
|
||||
overflow-wrap: anywhere;
|
||||
margin-top: 0.7em;
|
||||
margin-bottom: 0.7em;
|
||||
}
|
||||
|
||||
.no-text-indent .tiptap-draft p {
|
||||
text-indent: 0;
|
||||
}
|
||||
|
||||
|
||||
/* Form input base */
|
||||
.input-base {
|
||||
@apply w-full text-text-primary bg-dark-background px-4 py-2.5 rounded-xl
|
||||
|
||||
Reference in New Issue
Block a user