From 90b0d0969ff8534015f22a9d41bae85f41b84363 Mon Sep 17 00:00:00 2001 From: Anthony Pessy Date: Fri, 11 May 2018 16:24:43 +0200 Subject: [PATCH] fix css issue when dense=true and content is scrollable --- app/styles/ember-paper.scss | 1 + app/styles/overrides/paper-menu.scss | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 app/styles/overrides/paper-menu.scss diff --git a/app/styles/ember-paper.scss b/app/styles/ember-paper.scss index eb714569d..c0f3c22fa 100644 --- a/app/styles/ember-paper.scss +++ b/app/styles/ember-paper.scss @@ -158,3 +158,4 @@ // some overrides that are needed for ember-paper (avoid if possible) @import './overrides/paper-autocomplete'; +@import './overrides/paper-menu'; diff --git a/app/styles/overrides/paper-menu.scss b/app/styles/overrides/paper-menu.scss new file mode 100644 index 000000000..d60e7575c --- /dev/null +++ b/app/styles/overrides/paper-menu.scss @@ -0,0 +1,4 @@ +// @see https://github.com/angular/material/pull/11279 +md-menu-content.md-dense md-menu-item { + min-height: $dense-menu-item-height; +}