Skip to content

Build your personal knowledge base with Trilium Notes

fix(mobile/text): formatting toolbar missing background on iOS

Elian Dorane1de98c4ae35
diff --git a/apps/client/src/widgets/type_widgets/text/mobile_editor_toolbar.css b/apps/client/src/widgets/type_widgets/text/mobile_editor_toolbar.css
index a8fe7f3683..5f2f3c0b78 100644
--- a/apps/client/src/widgets/type_widgets/text/mobile_editor_toolbar.css
+++ b/apps/client/src/widgets/type_widgets/text/mobile_editor_toolbar.css
@@ -5,7 +5,6 @@ body.mobile {
.classic-toolbar-outer-container.visible {
height: 38px;
- background-color: var(--main-background-color);
position: relative;
overflow: visible;
flex-shrink: 0;
@@ -40,11 +39,10 @@ body.mobile {
}
.classic-toolbar-widget .ck.ck-toolbar {
- --ck-color-toolbar-background: transparent;
+ --ck-color-toolbar-background: var(--main-background-color);
--ck-color-button-default-background: transparent;
--ck-color-button-default-disabled-background: transparent;
position: absolute;
- background-color: transparent;
border: none;
}