joethei / obsidian-rss

Read RSS Feeds from inside Obsidian
GNU General Public License v3.0
395 stars 23 forks source link

[Help Request] CSS to Full Screen Mode #51

Closed FelipeRearden closed 2 years ago

FelipeRearden commented 2 years ago

Hello @joethei !!!!

Question is about an option to visualize the spectacular link view in Full Screen !

I tried to do this with CSS (Im not an expert I just do by try and error) and I got this

Before 2

After 1

But when I change the .modal, it breaks other windows of Obsidian that uses the same modal (I dont know the exact term to describe this)

If you could help me with the right CSS targets, would be amazing :)

I'm feeling so good reading my RSS articles with your plugin that a Full Screen window would be amazing for my workflow!

Have a great day!

joethei commented 2 years ago

Seems like you found the one element that does not have a custom class assigned yet. With the next update, this snippet will have the desired effect.

.rss-modal {
   width: 100%;
   height: 100%;
}
.rss-scrollable-content {
   height: 100%
}
FelipeRearden commented 2 years ago

You are fantastic @joethei !!!!!!!!!!!!!

FelipeRearden commented 2 years ago

Hello @joethei !!!!!!

Working perfect !!!!!!!

This is my snippet if anyone wants to try :)

.rss-modal {
    max-width: 100%;
    height: 100%;
    padding: 0px 15px 5px 20px;
}

.rss-scrollable-content {
   height: 80% !important;
}

Thank you very much for your help!!!!!

Have a great day!!!!!