From a2d56b93583526aaa5e7313f7de61ef956d87106 Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Sun, 25 Dec 2022 10:15:20 +0800 Subject: [PATCH] [fix] link max-width --- source/css/_layout/tag-plugins/link.styl | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/source/css/_layout/tag-plugins/link.styl b/source/css/_layout/tag-plugins/link.styl index cd5b3a6..0acdd9c 100644 --- a/source/css/_layout/tag-plugins/link.styl +++ b/source/css/_layout/tag-plugins/link.styl @@ -1,10 +1,7 @@ .md-text .tag-plugin.link - max-width: 100% margin: 1em auto display: flex justify-content: center - @media screen and (max-width: $device-mobile-375) - width: 100% .md-text .link-card background: var(--card) @@ -12,11 +9,8 @@ justify-content: space-between align-items: center cursor: pointer - // min-width 280px - // max-width: 100% width: 320px - @media screen and (max-width: $device-mobile-375) - width: 100% + max-width: 100% box-shadow: $boxshadow-card border-radius: $border-bar trans2: box-shadow transform