Comments (8)
I can't seem to reproduce it. If I change my window size, the font scales with it. At most I can loose the left and right pipes, but when it changes font size I can see them again. I never seem to get scrollbars, except if the cowsay is too high so I have to scroll down.
Edit: As I said that, I got one which had a horizontall scrollbar. A large cowsay with art then text saying
If you've got the job,
we've got the frob.
from cowtab.
I get incorrect borders without being too wide on some:
from cowtab.
@Brottweiler: Did you try specifically the one in the screenshot? It might be that specific fortune causing issues.
from cowtab.
The border breaks because the fortune is using tabs, "\t".length
is one but tabs are rendered as 8 characters. A fix can be found in #3.
from cowtab.
Especially noticable when using the tux-big
. It's so big that you cannot ever read the fortune... the text scales, but it needs to not be able to go outside the window I guess.
from cowtab.
The ASCII art is definitely a problem. The fortune files do use a nonstandard tab width, just as metarmask noticed, I think most of the fortune files were normalized to fix this. In addition, the text size is just a CSS fix right (I'm just guessing, might be something else).
from cowtab.
This is probably not an issue anymore with the new update since the cowsay font seems smaller.
from cowtab.
Yep, tagged and closed. The scaling is now based on vertical viewport height instead of horizontal. Should fix it all. Reopen if you encounter another broken fortune.
from cowtab.
Related Issues (8)
- Amounts in files affect probability of getting fortunes inside HOT 2
- Changing background color does not work as expected HOT 2
- Firefox Compatibility HOT 5
- Latest Chrome version renders screen black HOT 3
- New version not in Web Store?
- The cow is not displayed on chrome version Version 92.0.4515.159
- Random Cows
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 cowtab.