-
Notifications
You must be signed in to change notification settings - Fork 90
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
Date text is rendered lower than other elements in status bar #27
Comments
Thank you for this. I'll look into it ASAP, as the rendering position has been an issue for quite a while. On which platform you experienced this problem? |
I am experiencing this in Windows... |
I'm fixing this right now. It seems to be a thing on OS X as well. |
Removing all the CSS and adding the
@import "ui-variables";
.atom-clock {
// display: inline-block;
// margin-left: 1em;
// margin-right: 0.5em;
// position: relative;
// vertical-align: middle;
//
// .span {
// text-align: left;
// }
}
drawElement() {
this.element = document.createElement('div')
this.element.className = 'atom-clock inline-block'
this.element.appendChild(document.createElement('span'))
this.statusBar.addRightTile({
item: this.element,
priority: -1
})
} |
I actually did not change the code, just the style file, adding some stuff for the icon. The result seems to be pretty much the same.
|
Actually, the |
The |
Date text is rendered lower than other elements in the status bar as of Atom Version 1.17.0
The text was updated successfully, but these errors were encountered: