From b1240f5526548b9b21ab8c463840468fa60774e4 Mon Sep 17 00:00:00 2001 From: Gaspard d'Hautefeuille Date: Sat, 28 Mar 2020 13:33:45 +0000 Subject: [PATCH] some scss style for devise menu --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index 7618910..1a52628 100644 --- a/README.md +++ b/README.md @@ -179,6 +179,24 @@ In `app/views/devise/registrations/new.html.erb`, add: ``` +Don't forget to add a bit of style for Webpacker in `app/javascript/src/application.scss`: +```scss +ul.hmenu { + list-style: none; + margin: 0 0 2em; + padding: 0; + + li { + display: inline; + } +} +``` + +And add in `app/javascript/packs/application.js`: +```js +import '../src/application.scss' +``` + ## Usage Specs are created automatically when you generate a Devise model, e.g. `User`: