固定图片宽高
All checks were successful
Gitea Actions Official-website / deploy-dev (push) Successful in 3s

This commit is contained in:
2026-04-09 11:45:15 +08:00
parent 81f01e1424
commit ff8e23766a
2 changed files with 10 additions and 8 deletions

View File

@@ -102,7 +102,7 @@
<div class="header-nav-actions">
<div class="header-search-wrapper">
<span class="header-nav-btn">
<img src="__IMAGES__/s1.png" alt="">
<img src="__IMAGES__/s1.png" alt="" style="width: 17px;height: 17px;">
</span>
<div class="header-search-dropdown" id="searchDropdown">
<span class="header-search-dropdown-delete-icon"></span>
@@ -138,7 +138,7 @@
</div>
<div class="header-lang-wrapper">
<span class="header-nav-btn">
<img src="__IMAGES__/l1.png" alt="">
<img src="__IMAGES__/l1.png" alt="" style="width: 20px;height:20px">
</span>
<div class="header-lang-dropdown" id="langDropdown">
<span class="header-lang-dropdown-delete-icon"></span>
@@ -159,7 +159,7 @@
</div>
<div class="header-buy-wrapper">
<button class="header-buy-btn">
<img src="__IMAGES__/g1.png" alt="">
<img src="__IMAGES__/g1.png" alt="" style="margin-right: 3px;">
{:lang_i18n('购买')}
</button>
</div>

View File

@@ -140,19 +140,19 @@ a {
transition: color 0.2s;
}
.header-nav-btn img {
/* .header-nav-btn img {
width: 1.5em;
max-width: 24px;
max-height: 24px;
max-width: 17px;
max-height: 17px;
height: 1.5em;
}
} */
.header-nav-btn:hover {
color: #004bfa;
}
.header-buy-btn {
background-color:red;
background-color:#004bfa;
color: #fff;
padding: 0.375em 1.125em;
border-radius: 1.25em;
@@ -160,6 +160,8 @@ a {
cursor: pointer;
font-size: 1em;
white-space: nowrap;
display: flex;
align-items: center;
}