atom-material / atom-material-ui

A dynamic UI theme for Atom that follows Google's Material Design Guidelines
MIT License
816 stars 203 forks source link

Super Compact Tab Bar #406

Open ghost opened 7 years ago

ghost commented 7 years ago

Really love the theme.

Is there any chance of even more compact tab bar? I am not sure if this is because I have a HiDPi screen but even the compact one is still very large - not a big deal but would be great if there was an option to make it thinner.

Many thanks for considering this!

backlands commented 7 years ago

Just curious if this would be in line with the goals of the project? The Material Guidelines do set a bit of a standard for menu item spacing. But since this package is kinda following the guidelines it's more up to the discretion of the contributors!

@JGH1000 if you want to you can make your compact tab-bar even narrower until this is added by adding the following to your personal stylesheet. You can adjust the 2rem as desired but I found this was the lowest without needing more styling.

.amu-compact-tab-bar .tab-bar {
  height: 2rem;
  max-height: 2rem;
  .tab {
    height: 2rem;
    line-height: 2rem;
    .close-icon {
      line-height: 2rem;
    }
  }
}
ghost commented 7 years ago

Thanks @backlands, hopefully @silvestreh will consider adding the option at some point, looks very simple.