From d3dc0623678c859ace868b14acf2daaa1fa759de Mon Sep 17 00:00:00 2001 From: Eric Schubert <38206611+Kharonus@users.noreply.github.com> Date: Fri, 10 Jun 2022 14:20:07 +0200 Subject: [PATCH] [chore] add spot hover menu (#10762) - new hover menu for spot-list - introduced floating wrapper - align children to top when list item gets line breaks - reworked spot list item style - add word wrap to the spot list title --- .../src/app/spot/spot-docs.component.html | 115 ++++++++++++++++-- .../app/spot/styles/sass/components/list.sass | 38 +++++- 2 files changed, 141 insertions(+), 12 deletions(-) diff --git a/frontend/src/app/spot/spot-docs.component.html b/frontend/src/app/spot/spot-docs.component.html index cf91e18f19..6cb86de62f 100644 --- a/frontend/src/app/spot/spot-docs.component.html +++ b/frontend/src/app/spot/spot-docs.component.html @@ -125,6 +125,11 @@ Currently selected value is {{ toggleValue }}

Normal list

+

HINT: To enable floating actions on hover, every spot-list--item needs a + spot-list--item-floating-wrapper, which wraps the item's content and the spot-list-item-floating-actions, + but not any sub lists. This way, floating actions on hover are defined specific for each item, hence in the same list + items with floating actions can be right next to items without.

+