From a6776fe1455fbe386fe631ed9cd2d30434efd431 Mon Sep 17 00:00:00 2001 From: Yufan Sheng Date: Wed, 19 Jun 2024 04:12:32 +0800 Subject: [PATCH] fix: the friend link page style. --- src/assets/styles/globals.css | 35 +++++++++++++++++++++++++++++++---- 1 file changed, 31 insertions(+), 4 deletions(-) diff --git a/src/assets/styles/globals.css b/src/assets/styles/globals.css index efedce7..57d2789 100644 --- a/src/assets/styles/globals.css +++ b/src/assets/styles/globals.css @@ -1398,7 +1398,34 @@ textarea.form-control { color: inherit; } -.list-favicon { +@media (min-width: 1200px) and (max-width: 1399.98px) { + .list-desc .h-2x { + -webkit-line-clamp: 1; + } +} + +/*-------------------------------------------------------------- + list bookmarks style +--------------------------------------------------------------*/ + +.list-bookmarks { + margin: 2rem 0 0; +} + +.list-bookmarks .list-gogogo { + position: absolute; + left: 0; + top: 0; + width: 100%; + height: 100%; + z-index: 1; +} + +.list-bookmarks .list-grouped .list-content { + padding: 0.75rem 1rem 1rem; +} + +.list-bookmarks .list-favicon { background-size: cover; display: inline-block; margin-left: 8px; @@ -1406,9 +1433,9 @@ textarea.form-control { height: 12px; } -@media (min-width: 1200px) and (max-width: 1399.98px) { - .list-desc .h-2x { - -webkit-line-clamp: 1; +@media (max-width: 767.98px) { + .list-bookmarks { + margin: 2.5rem 0 0; } }