diff --git a/src/views/resource.vue b/src/views/resource.vue index 75fc117..b9dbaec 100644 --- a/src/views/resource.vue +++ b/src/views/resource.vue @@ -275,7 +275,7 @@ download(type) { align-items: stretch; background: #fff; border-radius: 20px; - overflow: hidden; + overflow: visible; box-shadow: 0 8px 30px rgba(0,0,0,0.08); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); border: 2px solid transparent; @@ -289,6 +289,7 @@ download(type) { background: linear-gradient(90deg, #667eea, #764ba2); transform: scaleX(0); transition: transform 0.3s ease; + border-radius: 20px 20px 0 0; } &:hover { @@ -318,6 +319,8 @@ download(type) { justify-content: center; background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05)); padding: 30px; + border-radius: 20px 0 0 20px; + overflow: hidden; } .zui-card__media { @@ -330,6 +333,8 @@ download(type) { border-radius: 20px; padding: 12px; transition: transform 0.3s ease; + position: relative; + z-index: 1; img { width: 100%; @@ -346,6 +351,8 @@ download(type) { padding: 30px 35px; display: flex; flex-direction: column; + border-radius: 0 20px 20px 0; + overflow: hidden; } .zui-card__title {