From 153c880c0b93ae19bfed678f79f41582c0e6f4bf Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Fri, 13 Oct 2023 08:42:10 +0800 Subject: updated --- src/css/ghrepo.css | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'src/css/ghrepo.css') diff --git a/src/css/ghrepo.css b/src/css/ghrepo.css index 64903e87..3912c051 100644 --- a/src/css/ghrepo.css +++ b/src/css/ghrepo.css @@ -253,6 +253,7 @@ input:active, justify-content: center; align-items: flex-start; background: transparent; + scroll-snap-type: y mandatory; /* background: rgba(128, 128, 128, 0.2); */ } @@ -270,7 +271,8 @@ input:active, -ms-filter: blur(20px); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); - -webkit-transition: all 0.5s + -webkit-transition: all 0.5s; + scroll-snap-align: center /* box-shadow: 0 0 10mm rgba(0,0,0,.7); */ /* background: rgba(128, 128, 128, 0.1); */ } @@ -371,6 +373,17 @@ input:active, box-shadow: 0 0 10mm rgba(0,0,0,.7); } +.rdescription { + display: -webkit-box; + -webkit-box-orient: vertical; + -webkit-line-clamp: 3; + overflow: hidden +} + +.rdescription:hover { + -webkit-line-clamp: unset; +} + .user-info * { background: transparent; } -- cgit v1.2.3