Hello I'm trying to develop a status bar for i3wm using electron.
Electronjs is using chromium render engine so my webpage should render as in Chrome.
I want to design UI but i came across strange behavior when one div is placed properly the second one is shifted verticaly. 
Why it do this and how to fix it?
Here is my code:
HTML:
<div class="module slide slide-right">
    <div class="hover-icon">
        <i class="material-icons">power_settings_new</i>
    </div>
    <div class="slider">
        <a href="" class="action">
            <i class="material-icons">settings_backup_restore</i>
            <span class="action-label"> Restart</span>
        </a>
        <a href="" class="action">
            <i class="material-icons">power_settings_new</i>
            <span class="action-label"> Wyłącz</span>
        </a>
    </div>
</div>
CSS:
* {
  user-select: none;
  box-sizing: border-box;
}
body {
  color: #ccc;
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  font-weight: 300;
  overflow: hidden;
  padding: 0;
  margin: 0;
  background-color: #181818;
}
p {
  margin: 0;
}
a {
  text-decoration: none;
  color: #ccc;
}
a:hover {
  color: #fff;
}
.module {
  height: 50px;
  position: absolute;
  display: inline-block;
  box-sizing: border-box;
  background-color: green;
}
.slide .hover-icon {
  display: inline-block;
  padding: 13px;
  height: 50px;
  width: 50px;
  background-color: blue;
}
.slide .slider {
  display: inline-block;
  height: 50px;
  background-color: red;
}