Skip to content

Build your personal knowledge base with Trilium Notes

feat(mobile): improve empty tab workspace switcher

Elian Doran2e6290c514f5
diff --git a/apps/client/src/widgets/type_widgets/Empty.css b/apps/client/src/widgets/type_widgets/Empty.css
index 40f9f02020..9385bef72e 100644
--- a/apps/client/src/widgets/type_widgets/Empty.css
+++ b/apps/client/src/widgets/type_widgets/Empty.css
@@ -26,10 +26,22 @@ body.desktop {
}
.workspace-notes .workspace-note {
- width: 130px;
text-align: center;
margin: 10px;
border: 1px transparent solid;
+
+ .workspace-icon {
+ text-align: center;
+ font-size: 250%;
+ }
+
+ @media (min-width: 992px) {
+ width: 130px;
+
+ .workspace-icon {
+ font-size: 500%;
+ }
+ }
}
.workspace-notes .workspace-note:hover {
@@ -57,8 +69,3 @@ body.desktop {
.empty-tab-search .input-clearer-button {
border-bottom-right-radius: 0;
}
-
-.workspace-icon {
- text-align: center;
- font-size: 500%;
-}