Skip to content
This repository has been archived by the owner on Sep 13, 2024. It is now read-only.

Commit

Permalink
Remove unwanted border on "stories" button
Browse files Browse the repository at this point in the history
The (inline) styles on the "stories" button in the "Welcome" Storybook
story aren't enough to get rid of browser-default styles. By resetting
the `border` property completely, the button looks better and renders
more consistently across different browsers.
  • Loading branch information
trotzig committed Jan 2, 2019
1 parent f004936 commit 6bbe2e6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .happo.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
const path = require('path');

const { RemoteBrowserTarget } = require('happo.io');
const happoPluginStorybook = require('happo-plugin-storybook');

Expand Down Expand Up @@ -30,5 +32,7 @@ module.exports = {
happoPluginStorybook(),
],

stylesheets: [path.resolve(__dirname, 'styles.css')],

type: 'react',
};
3 changes: 3 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
button {
border: none;
}

0 comments on commit 6bbe2e6

Please sign in to comment.