unicode-node css style #1332

Open
enguerran opened this Issue Jan 3, 2017 · 3 comments

Projects

None yet

5 participants

@enguerran
  • I am on the latest Hyper.app version
  • I have searched the issues of this repo and believe that this is not a duplicate

Issue

I have a unicode-node style issue: on the left, the actual css rule with unicode-node { display: inline-block; }, on the right, a modified css rule with unicode-node { display: inline; }.
My custom emojis (goat + gust of wind) are better aligned on the right.

Do you think it is a issue on hyper or may it be a issue on another element in my terminal stack (MacOS + hyper + zsh + oh-my-zsh + bullet-train + Powerline font)?

screen shot 2017-01-03 at 16 33 06

@tkisme
tkisme commented Jan 6, 2017

same result,and unicode-node { display: inline; } works

@storvik
storvik commented Jan 6, 2017

Same goes for me, but..

Changing inline-block to inline fixes icons, but the cursor shifts (due to icon widths?).
screen shot 2017-01-06 at 10 53 57

Turning on newline in the prompt makes it bearable. This also makes tmux usable again, see my comment here #1156. As long as you dont split the window vertically
screen shot 2017-01-06 at 11 09 41

@ohc192
ohc192 commented Jan 9, 2017

I found this to be driving me nuts with the vim plugin airline. everything renders correctly in this terminal except for the trigram for heaven glyph used to display the line numbers at the bottom. You can see what i'm talking about in this other issue for more information. I've attached a screenshot with the css patched for the unicode node so you can see what i'm referring to.

broken:
screen shot 2017-01-09 at 1 46 29 am

patched:
screen shot 2017-01-09 at 1 47 09 am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment