diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 481025d81..a8f138caa 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -975,6 +975,16 @@ tr.turn:hover { } } +/* Bootstrap buttons don't have any vertical margin, so + they touch when adjacent buttons wrap onto a new line + e.g. wide form buttons on a narrow sidebar */ + +.btn-wrapper { + > .btn { + margin-bottom: $spacer * 0.25; + } +} + /* Rules for export sidebar */ .export_form { diff --git a/app/views/browse/note.html.erb b/app/views/browse/note.html.erb index 1a792e873..6dcd46e76 100644 --- a/app/views/browse/note.html.erb +++ b/app/views/browse/note.html.erb @@ -51,7 +51,7 @@