fix: Update button size

Signed-off-by: TheYoungManLi <cjl@kubesphere.io>
This commit is contained in:
TheYoungManLi 2021-11-24 13:01:12 +08:00
parent bb2e216dee
commit 065380b0e6
2 changed files with 7 additions and 7 deletions

View File

@ -490,13 +490,13 @@
height: 210px;
}
button {
.button {
position: absolute;
right: 12px;
bottom: 14px;
padding: 9px 16px;
border-radius: 16px;
font-size: 8px;
padding: 10px 20px;
border-radius: 28px;
font-size: 16px;
color: #fff;
border: none;
cursor: pointer;
@ -560,7 +560,7 @@
height: 180px !important;
}
button {
.button {
right: 10px;
bottom: 40px;
}

View File

@ -88,8 +88,8 @@
<p>{{ .place }}</p>
<div class="imgBox">
<img src="{{ .img }}">
<a href="{{ .meetupUrl | safeURL }}" target="_blank" rel="noopener noreferrer">
<button>{{ i18n "Wonderful review" }}</button>
<a class="button" href="{{ .meetupUrl | safeURL }}" target="_blank" rel="noopener noreferrer">
{{ i18n "Wonderful review" }}
</a>
</div>
</li>