Skip to content

Commit

Permalink
fix: 🐛 purgecss removed the css
Browse files Browse the repository at this point in the history
  • Loading branch information
MaethorNaur committed Sep 15, 2020
1 parent 7390e72 commit ce994ca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion rest-ui/postcss.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ if (process.env.NODE_ENV === 'production') {
'src/main/js/**/*.html',
'src/main/js/**/*.js',
'node_modules/react-burger-menu/**/*.js',
'node_modules/swagger-ui/**/*.js'
'node_modules/swagger-ui/**/*.js',
'node_modules/swagger-ui-react/**/*.js'
],
whitelistPatterns: [/swagger-ui/, /opblock/, /opblock-summary/],
defaultExtractor: content => content.match(/[A-Za-z0-9-_:/]+/g) || []
Expand Down
2 changes: 1 addition & 1 deletion rest-ui/src/main/js/components/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export default class App extends Component {
)
})
} else {
items.push(<h1 key="0">No services available</h1>)
items.push(<h1 key="0" style={{padding: '0.5em'}}>No services available</h1>)
}
return items
}
Expand Down

0 comments on commit ce994ca

Please sign in to comment.