Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

boarder shifting problem #45

Open
MoritzFago opened this issue Jun 23, 2016 · 5 comments
Open

boarder shifting problem #45

MoritzFago opened this issue Jun 23, 2016 · 5 comments

Comments

@MoritzFago
Copy link

Weather for City: Kiel, Germany

     \   /     Sunny
      .-.      21 – 22 °C     
   ― (   ) ―   ↖ 11 km/h      
      `-’      10 km          
     /   \     0.0 mm         
                                                       ┌─────────────┐                                                       
┌──────────────────────────────┬───────────────────────┤ Thu 23. Jun ├───────────────────────┬──────────────────────────────┐
│           Morning            │             Noon      └──────┬──────┘    Evening            │            Night             │
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┤
│     \   /     Sunny          │  _`/"".-.     Patchy rain ne…│  _`/"".-.     Moderate or he…│  _`/"".-.     Moderate or he…│
│      .-.      21 – 22 °C     │   ,\_(   ).   28 – 30 °C     │   ,\_(   ).   27 – 28 °C     │   ,\_(   ).   24 – 25 °C     │
│   ― (   ) ―   ↖ 11 – 19 km/h │    /(___(__)  ↖ 24 – 25 km/h │    /(___(__)  ↑ 11 – 26 km/h │    /(___(__)  ↖ 14 – 31 km/h │
│      `-’      10 km          │      ‘ ‘ ‘ ‘  10 km          │    ‚‘‚‘‚‘‚‘   7 km           │    ‚‘‚‘‚‘‚‘   7 km           │
│     /   \     0.0 mm | 0%    │     ‘ ‘ ‘ ‘   0.1 mm | 83%   │    ‚’‚’‚’‚’   4.1 mm | 92%   │    ‚’‚’‚’‚’   2.8 mm | 91%   │
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┘
                                                       ┌─────────────┐                                                       
┌──────────────────────────────┬───────────────────────┤ Fri 24. Jun ├───────────────────────┬──────────────────────────────┐
│           Morning            │             Noon      └──────┬──────┘    Evening            │            Night             │
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┤
│  _`/"".-.     Patchy light r…│      .-.      Moderate or he…│  _`/"".-.     Thundery outbr…│  _`/"".-.     Patchy rain ne…│
│   ,\_(   ).   23 – 24 °C     │     (   ).    26 – 27 °C     │   ,\_(   ).   23 – 24 °C     │   ,\_(   ).   21 °C          │
│    /(___(__)  ↑ 8 – 15 km/h  │    (___(__)   ↑ 14 – 17 km/h │    /(___(__)  ↖ 9 km/h       │    /(___(__)  → 12 – 23 km/h │
│     ⚡‘ ‘⚡‘ ‘  10 km          │   ‚‘⚡‘‚⚡‚‘    9 km           │     ⚡‘ ‘⚡‘ ‘  9 km           │      ‘ ‘ ‘ ‘  9 km           │
│     ‘ ‘ ‘ ‘   1.9 mm | 62%   │   ‚’‚’⚡’‚’    1.0 mm | 100%  │     ‘ ‘ ‘ ‘   0.1 mm | 63%   │     ‘ ‘ ‘ ‘   0.6 mm | 19%   │
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┘
                                                       ┌─────────────┐                                                       
┌──────────────────────────────┬───────────────────────┤ Sat 25. Jun ├───────────────────────┬──────────────────────────────┐
│           Morning            │             Noon      └──────┬──────┘    Evening            │            Night             │
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┤
│  _`/"".-.     Patchy rain ne…│      .-.      Patchy light r…│      .-.      Light rain     │  _`/"".-.     Patchy rain ne…│
│   ,\_(   ).   20 °C          │     (   ).    18 – 19 °C     │     (   ).    18 – 19 °C     │   ,\_(   ).   12 °C          │
│    /(___(__)  ↘ 12 – 14 km/h │    (___(__)   ↘ 13 – 18 km/h │    (___(__)   ↘ 14 – 18 km/h │    /(___(__)  ↘ 13 – 25 km/h HERE THE BOARDER SHIFTS RIGHT│
│      ‘ ‘ ‘ ‘  10 km          │     ‘ ‘ ‘ ‘   10 km          │     ‘ ‘ ‘ ‘   10 km          │      ‘ ‘ ‘ ‘  10 km          │
│     ‘ ‘ ‘ ‘   0.1 mm | 78%   │    ‘ ‘ ‘ ‘    1.0 mm | 100%  │    ‘ ‘ ‘ ‘    1.0 mm | 100%  │     ‘ ‘ ‘ ‘   0.1 mm | 74%   │
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┘
      ```
@romanesko
Copy link

Same problem. Screenshot: http://take.ms/BNWqq

OSX 10.11.5 Google Chrome 51.0.2704.103 (64-bit)
Default monotype font: Monaco

@Dr-Turner
Copy link

Mine's off too but in a different way: https://i.imgur.com/dg3RgCE.png

Windows 10 14393.82; Chrome 52.0.2743.116 m (64-bit)

@pjvandehaar
Copy link

pjvandehaar commented Dec 11, 2016

pre{font-family: Menlo;} makes this work great on OSX using Firefox, Chrome, and Safari. Works great for me with greasemonkey/tampermonkey.

Could Menlo be added into the list at http://wttr.in/files/style.css? Adding Menlo last solves the alignment problem. Making Menlo first makes the boxes continuous. Here it is withpre{font-family: Menlo,Lucida Sans Typewriter,Lucida Console,monaco,Bitstream Vera Sans Mono,monospace;}:

screen shot 2016-12-11 at 4 06 30 am

(BTW, thanks for wttr.in! I'd PR, but the site is different from the repo for me)

@chubin
Copy link
Owner

chubin commented Feb 16, 2017

@pjvandehaar Thank you for the suggestion. I added Menlo and "DejaVu Sans Mono" (thanks to @Artanicus in #22) and it is by far better now. But not everywhere. In Windows it is still bad: bad (Firefox), very bad (Opera), ugly (Chrome). There are some examples: https://twitter.com/Noooooovik/status/832190050297376768

@romanesko @Dr-Turner Please recheck if it is better now

@pjvandehaar The code in the repo on github is indeed not updated (see #71). I hope I can update it soon. There are also some patches/fixes for wego to integrate upstream (that's why I didn't close some issues here, though they are already fixed in the code running on wttr.in).

@romanesko
Copy link

Borders are fine now for Chrome, Safari and console in OSX. Thanks!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants