mirror of
				https://github.com/TheAnachronism/docspell.git
				synced 2025-10-30 21:40:12 +00:00 
			
		
		
		
	Fix scrolling to card
That was broken due to the independent scroll in commit #bcb1b8.
This commit is contained in:
		| @@ -648,7 +648,7 @@ scrollToCard : Maybe String -> Model -> ( Model, Cmd Msg, Sub Msg ) | ||||
| scrollToCard mId model = | ||||
|     let | ||||
|         scroll id = | ||||
|             Scroll.scroll id 0.5 0.5 0.5 0.5 | ||||
|             Scroll.scrollElementY "item-card-list" id 0.5 0.5 | ||||
|     in | ||||
|     case mId of | ||||
|         Just id -> | ||||
|   | ||||
| @@ -110,6 +110,7 @@ view flags settings model = | ||||
|                 , ( "sixteen wide column", menuCollapsed model ) | ||||
|                 , ( "item-card-list", True ) | ||||
|                 ] | ||||
|             , id "item-card-list" | ||||
|             ] | ||||
|             (List.concat | ||||
|                 [ viewBar flags model | ||||
|   | ||||
		Reference in New Issue
	
	Block a user