Skip to content

Conversation

@seyfeb
Copy link
Collaborator

@seyfeb seyfeb commented Jan 14, 2021

Depending on the existence of subgroups in the ingredient list (starting with ##) the ingredients are more or less indented.

The vertical overlap of checkmark and ingredient text, that appeared when there was a line break in the text, is removed.

Also a hanging indent is introduced to make it visually clear when there is a line break within a single ingredient.

Previously:
Screenshot 2021-01-14 at 22 23 38

With subgroup:
Screenshot 2021-01-14 at 22 09 06

Without subgroup:
Screenshot 2021-01-14 at 22 09 45

@codecov
Copy link

codecov bot commented Jan 14, 2021

Codecov Report

Merging #512 (89a132f) into master (ee80881) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##             master    #512   +/-   ##
========================================
  Coverage      0.90%   0.90%           
  Complexity      416     416           
========================================
  Files            13      13           
  Lines          1319    1319           
========================================
  Hits             12      12           
  Misses         1307    1307           
Flag Coverage Δ Complexity Δ
integration 0.00% <ø> (ø) 0.00 <ø> (ø)
unittests 0.90% <ø> (ø) 0.00 <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

@seyfeb seyfeb force-pushed the feature/updateIngredientListVisuals branch from 80601ea to 5070dd2 Compare January 14, 2021 21:35
li.unindented {
position: relative;
left: -1.25em;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can cause trouble. After #515 it might be better to do margin-left: 0px; instead.

Signed-off-by: Sebastian Fey <[email protected]>
Signed-off-by: Sebastian Fey <[email protected]>
@christianlupus christianlupus force-pushed the feature/updateIngredientListVisuals branch from 40f9cce to 70aa12e Compare January 15, 2021 13:34
@christianlupus christianlupus merged commit e14fa15 into nextcloud:master Jan 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants