fix: eslint
This commit is contained in:
@@ -58,12 +58,12 @@ defineExpose({
|
|||||||
/** TODO @dylan:看看有没适合 tindwind 的哈。 */
|
/** TODO @dylan:看看有没适合 tindwind 的哈。 */
|
||||||
|
|
||||||
.news-home {
|
.news-home {
|
||||||
width: 100%;
|
|
||||||
margin: auto;
|
|
||||||
background-color: #fff;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
|
width: 100%;
|
||||||
|
margin: auto;
|
||||||
|
background-color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.news-main {
|
.news-main {
|
||||||
@@ -85,10 +85,10 @@ defineExpose({
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 98%;
|
width: 98%;
|
||||||
padding: 1%;
|
padding: 1%;
|
||||||
|
margin-left: 10px;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
white-space: normal;
|
white-space: normal;
|
||||||
margin-left: 10px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.news-main-item {
|
.news-main-item {
|
||||||
@@ -96,9 +96,9 @@ defineExpose({
|
|||||||
}
|
}
|
||||||
|
|
||||||
.news-content-item {
|
.news-content-item {
|
||||||
padding: 10px;
|
|
||||||
box-sizing: border-box;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.news-content-item-title {
|
.news-content-item-title {
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ defineExpose({
|
|||||||
class="block"
|
class="block"
|
||||||
>
|
>
|
||||||
<div
|
<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
|
<div
|
||||||
class="mr-3 h-12 w-12 overflow-hidden rounded-full border border-transparent"
|
class="mr-3 h-12 w-12 overflow-hidden rounded-full border border-transparent"
|
||||||
|
|||||||
@@ -58,12 +58,12 @@ defineExpose({
|
|||||||
/** TODO @dylan:看看有没适合 tindwind 的哈。 */
|
/** TODO @dylan:看看有没适合 tindwind 的哈。 */
|
||||||
|
|
||||||
.news-home {
|
.news-home {
|
||||||
width: 100%;
|
|
||||||
margin: auto;
|
|
||||||
background-color: #fff;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
|
width: 100%;
|
||||||
|
margin: auto;
|
||||||
|
background-color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.news-main {
|
.news-main {
|
||||||
@@ -85,10 +85,10 @@ defineExpose({
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 98%;
|
width: 98%;
|
||||||
padding: 1%;
|
padding: 1%;
|
||||||
|
margin-left: 10px;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
white-space: normal;
|
white-space: normal;
|
||||||
margin-left: 10px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.news-main-item {
|
.news-main-item {
|
||||||
@@ -96,9 +96,9 @@ defineExpose({
|
|||||||
}
|
}
|
||||||
|
|
||||||
.news-content-item {
|
.news-content-item {
|
||||||
padding: 10px;
|
|
||||||
box-sizing: border-box;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.news-content-item-title {
|
.news-content-item-title {
|
||||||
|
|||||||
Reference in New Issue
Block a user