yoyurec / logseq-awesome-content

📝 Enhanced content blocks (tasks, quotes, flashcards, headers, queries, diagrams, etc...) plugin for Logseq
MIT License
47 stars 3 forks source link

Mobile version do not work for horizontal screen #3

Closed ThreeIce closed 1 year ago

ThreeIce commented 1 year ago

Info:

Description: A clear and concise description of what the bug is......

To Reproduce: ...

Expected behavior: ...

Screenshots If applicable, add screenshots to help explain your problem. 29EB46C8-543F-43FD-BC5D-98C977B013B0 3CF632AE-32FD-44B3-9AD2-8AFA6BE2B22E

Attach files Add (via drag-n-drop) .zip with .md files (if it needs) to help with bugfixind

yoyurec commented 1 year ago

what are your device sizes?

@import url("https://raw.githack.com/yoyurec/logseq-awesome-content/main/src/awesomeContent-cdn.css") only screen and (max-width: 1024px); <--- try to set bigger max-width

ThreeIce commented 1 year ago

My device sizes are 2360 x 1640. I set it to 2400 and 3000. It doesn’t work.

yoyurec commented 1 year ago

what about delete at all? only imports stays : @import url("https://raw.githack.com/yoyurec/logseq-awesome-content/main/src/awesomeContent-cdn.css");

yoyurec commented 1 year ago

btw, custom.css can be cached, so maybe also need to reindex

ThreeIce commented 1 year ago

I have tried. I even restart the whole app.

ThreeIce commented 1 year ago

other custom css works well 5B5462EE-3AB8-453D-812F-3FA062657325

yoyurec commented 1 year ago

oh! i've found ) awesomeContent-cdn.css is a collection of modules imports. WITH max-width

yoyurec commented 1 year ago

i've pushed update, but file still chached in cloud so you can use for now:

@import url("https://raw.githack.com/yoyurec/logseq-awesome-content/main/src/modules/admonition/admonition.css");
@import url("https://raw.githack.com/yoyurec/logseq-awesome-content/main/src/modules/calculator/calculator.css");
@import url("https://raw.githack.com/yoyurec/logseq-awesome-content/main/src/modules/columns/columns.css");
@import url("https://raw.githack.com/yoyurec/logseq-awesome-content/main/src/modules/flashcards/flashcardAwesome.css");
@import url("https://raw.githack.com/yoyurec/logseq-awesome-content/main/src/modules/headersLabels/headersLabels.css");
@import url("https://raw.githack.com/yoyurec/logseq-awesome-content/main/src/modules/mermaid/mermaid.css");
@import url("https://raw.githack.com/yoyurec/logseq-awesome-content/main/src/modules/quotes/quotes.css");
@import url("https://raw.githack.com/yoyurec/logseq-awesome-content/main/src/modules/tasks/tasks.css");
@import url("https://raw.githack.com/yoyurec/logseq-awesome-content/main/src/modules/code/code.css");
@import url("https://raw.githack.com/yoyurec/logseq-awesome-content/main/src/modules/other/other.css");
yoyurec commented 1 year ago

cdn updated, @import url("https://raw.githack.com/yoyurec/logseq-awesome-content/main/src/awesomeContent-cdn.css"); should work