From b17c494e27393fd706f2f6d62d65a19b57c4da00 Mon Sep 17 00:00:00 2001 From: MCMicS Date: Wed, 21 Mar 2018 15:42:06 +0100 Subject: [PATCH] Fix etabs-buttons location display (#52) Fixes #40 --- demo/electron-tabs.html | 6 +++++- electron-tabs.css | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/demo/electron-tabs.html b/demo/electron-tabs.html index 6799d19..f36c980 100644 --- a/demo/electron-tabs.html +++ b/demo/electron-tabs.html @@ -17,7 +17,11 @@ //const TabGroup = require('electron-tabs') normally but for demo : const TabGroup = require("../index"); - let tabGroup = new TabGroup(); + let tabGroup = new TabGroup({ + newTab: { + title: 'New Tab' + } + }); tabGroup.addTab({ title: 'Google', diff --git a/electron-tabs.css b/electron-tabs.css index fc0a57b..6e20083 100644 --- a/electron-tabs.css +++ b/electron-tabs.css @@ -10,7 +10,6 @@ } .etabs-tabs { - float: left; } .etabs-tab { @@ -40,6 +39,7 @@ .etabs-tab.visible { display: inline-block; + float: left; } .etabs-tab.active {