Skip to content

Commit 09d09d2

Browse files
committed
fix[portal]: 修改详情页表格样式
1 parent 9e58daf commit 09d09d2

File tree

2 files changed

+16
-11
lines changed

2 files changed

+16
-11
lines changed

dbblog-backend/dbblog-search/src/main/java/cn/dblearn/blog/search/config/InitialConfig.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ public class InitialConfig {
2525
*/
2626
@PostConstruct
2727
public void initEsIndex(){
28-
articleEsController.refresh("initial Index");
28+
try {
29+
articleEsController.refresh("initial Index");
30+
}catch (Exception e) {
31+
e.printStackTrace();
32+
}
33+
2934
}
3035
}

dbblog-frontend/src/common/stylus/article.styl

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -226,19 +226,17 @@ article#article-main-page
226226
font-weight 700
227227
color: orange
228228

229-
.table-wrap
230-
width 100%
231-
margin 10px 0
232-
overflow auto
233-
&::-webkit-scrollbar
234-
width .4rem
235-
height .4rem
236-
&::-webkit-scrollbar-thumb
237-
background-color rgba(0, 0, 0, .26)
238229
table
239-
min-width 100%
240230
border-collapse collapse
241231
word-break normal
232+
width 100%
233+
margin 10px 0
234+
overflow auto
235+
&::-webkit-scrollbar
236+
width .4rem
237+
height .4rem
238+
&::-webkit-scrollbar-thumb
239+
background-color rgba(0, 0, 0, .26)
242240
td, th
243241
border 1px solid $default-border-hover-color
244242
color $default-info-color
@@ -254,3 +252,5 @@ article#article-main-page
254252
background $default-background-color
255253
tr:nth-child(even)
256254
background rgba($iview-main-primary-color, 0.03)
255+
256+

0 commit comments

Comments
 (0)