fix: eslint

This commit is contained in:
hw
2025-11-25 14:44:08 +08:00
parent b4c77f5498
commit 1aad3b641c
3 changed files with 13 additions and 13 deletions

View File

@@ -58,12 +58,12 @@ defineExpose({
/** TODO @dylan看看有没适合 tindwind 的哈。 */
.news-home {
width: 100%;
margin: auto;
background-color: #fff;
display: flex;
flex-direction: column;
gap: 10px;
width: 100%;
margin: auto;
background-color: #fff;
}
.news-main {
@@ -85,10 +85,10 @@ defineExpose({
display: inline-block;
width: 98%;
padding: 1%;
margin-left: 10px;
font-size: 16px;
color: #fff;
white-space: normal;
margin-left: 10px;
}
.news-main-item {
@@ -96,9 +96,9 @@ defineExpose({
}
.news-content-item {
padding: 10px;
box-sizing: border-box;
position: relative;
box-sizing: border-box;
padding: 10px;
}
.news-content-item-title {

View File

@@ -45,7 +45,7 @@ defineExpose({
class="block"
>
<div
class="bg-background flex items-center rounded-sm border border-[#e8e8e8] p-4 transition hover:border-black/10 hover:shadow-sm"
class="flex items-center rounded-sm border border-[#e8e8e8] bg-background p-4 transition hover:border-black/10 hover:shadow-sm"
>
<div
class="mr-3 h-12 w-12 overflow-hidden rounded-full border border-transparent"

View File

@@ -58,12 +58,12 @@ defineExpose({
/** TODO @dylan看看有没适合 tindwind 的哈。 */
.news-home {
width: 100%;
margin: auto;
background-color: #fff;
display: flex;
flex-direction: column;
gap: 10px;
width: 100%;
margin: auto;
background-color: #fff;
}
.news-main {
@@ -85,10 +85,10 @@ defineExpose({
display: inline-block;
width: 98%;
padding: 1%;
margin-left: 10px;
font-size: 16px;
color: #fff;
white-space: normal;
margin-left: 10px;
}
.news-main-item {
@@ -96,9 +96,9 @@ defineExpose({
}
.news-content-item {
padding: 10px;
box-sizing: border-box;
position: relative;
box-sizing: border-box;
padding: 10px;
}
.news-content-item-title {