Logic Machine Forum
Widget in center - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Visualization (https://forum.logicmachine.net/forumdisplay.php?fid=9)
+--- Thread: Widget in center (/showthread.php?tid=4211)



Widget in center - CristianAgata - 03.09.2022

Hi All,
Is there a way to center the mosaic widget in small screen. 
Best regards Cristian


RE: Widget in center - admin - 05.09.2022

Make sure that Mosaic is updated to the latest version. Add this Custom CSS to Mosaic / Settings & themes. This rule only applies to the Main screen.
Code:
@media (max-width: 640px) {
  .route_main .w-constrain {
    width: 330px !important;
  }
}
Adjust widths as needed. 640px is the maximum screen width when the rule is applied. 330px is the resulting widget container width (3 widget units).