From aba7207168885c1f2cf32d461338b4cc8d071d34 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Mon, 29 Dec 2025 16:31:43 +0100 Subject: sort full history in chronological order (ascending by time) This feels more intuitive. The snippet on the landing page remains in reverse chronological order (descending by time). --- sass/src/common/local.scss | 31 +++++++++++++++++++++++-------- 1 file changed, 23 insertions(+), 8 deletions(-) (limited to 'sass') diff --git a/sass/src/common/local.scss b/sass/src/common/local.scss index 9c03675..c0552eb 100644 --- a/sass/src/common/local.scss +++ b/sass/src/common/local.scss @@ -163,15 +163,30 @@ ul.route-history > li { } // route icon bubble - i.material-icons { - &[aria-label=nach] { - padding-top: 0.4rem; + &.order-asc { + i.material-icons { + &[aria-label=von] { + display: block; + transform: rotate(90deg); + height: 1rem; + margin-top: 0.4rem; + } + &[aria-label=nach] { + padding-top: 0.4rem; + } } - &[aria-label=von] { - display: block; - transform: rotate(-90deg); - height: 1rem; - margin-top: 0.4rem; + } + &.order-desc { + i.material-icons { + &[aria-label=nach] { + padding-top: 0.4rem; + } + &[aria-label=von] { + display: block; + transform: rotate(-90deg); + height: 1rem; + margin-top: 0.4rem; + } } } -- cgit v1.2.3