andrewmcgivery / obsidian-beautitab

A plugin for Obsidian.MD that creates a customizable new tab view with beautiful backgrounds, quotes, search, and more.
MIT License
119 stars 6 forks source link

Does not seem to size for mobile #21

Closed EntropicNinja closed 7 months ago

EntropicNinja commented 7 months ago

Hey, just came across your reddit post & installed stright away. Love this idea and where it's heading.

Just to let you know that I've so far only tried it on mobile and it has some formatting issues:

  1. The whole thing (time, search, greeting, recent, quote) could be brought up a bit as the quote doesn't quite fit and falls off the screen at the bottom of the page.
  2. The recent files span past the edges of the screen and cuts off some text (could this be scrollable? - can make A FR if so)

Screenshot_20240215-201558

andrewmcgivery commented 7 months ago

Interesting. I haven't actually tried it on mobile at all. I didn't realize it as marked as available for mobile 😓

Will add it to the list to look at fixing this up a bit! Thanks for raising this!

andrewmcgivery commented 7 months ago

Note to self: https://docs.obsidian.md/Plugins/Getting+started/Mobile+development

this.app.emulateMobile(true);

this.app.isMobile

import { Platform } from "obsidian";

if (Platform.isIosApp) {
  // ...
}

if (Platform.isAndroidApp) {
  // ...
}
andrewmcgivery commented 7 months ago

@EntropicNinja this should be much better now on version 1.2. Please update and let me know if you run into any more mobile issues!

EntropicNinja commented 7 months ago

Screenshot_20240216-082527

Hey, thanks for looking into this so quickly, your edit has fixed the issue! 👌

EntropicNinja commented 6 months ago

Just noticed the new 1.5 release and loving the local background option. Though I've noticed that in using the 24hr clock late at night the sizing is not refactored making the clock not fit the screen.

Screenshot_20240305-234226