Comments (9)
The actual window itself? Typora themes are just a CSS stylesheet, so it's strange that it should affect the window... What happens when you try to drag it? Does it just not respond, or do bits stay in place?
from krafty.
When I change the Typora theme from Github or others to Krafty, the window becomes stationary. So I couldn't drag it as much as I wanted.
from krafty.
Does the window then become moveable again when you switch back to Github?
from krafty.
Yes, it does.
from krafty.
What operating system and version of Typora are you using? I'll need to recreate this error before I can fix it - and I can move the window around with no trouble on my (Windows 10, Typora 1.1.5) setup
from krafty.
Typora 1.1.5 for Windows 10, too.
And here is a GIF to show the phenomenon.
from krafty.
Ah I see, you've got appearance set to unibody - that's why I couldn't recreate the error, I have mine in Classic. If I set mine to unibody it does that too, so now I can replicate the error I can figure out what's causing it
from krafty.
Nice! Thanks for your time.
from krafty.
Found the bug! Essentially, to make the background stick in place, I set its position to fixed
and its top position to 0
- in Unibody mode, the window bar is actually a part of the HTML of the page, so when I set top
to 0 it positions the background over the hitbox for the window bar.
I'll actually raise this as an issue on the Typora GitHub too, as I bet there's a way to ensure that the context of the content
object is fully independent of the window itself, to avoid novices like me accidentally breaking the window :P
from krafty.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from krafty.