File tree Expand file tree Collapse file tree 5 files changed +39
-18
lines changed Expand file tree Collapse file tree 5 files changed +39
-18
lines changed Original file line number Diff line number Diff line change 150150 }
151151 epd {
152152 position : absolute ;
153- height : 12 px ;
154- width : 12 px ;
155- line-height : 12px ;
153+ height : 18 px ;
154+ width : 18 px ;
155+ // line-height: 12px;
156156 text-align : center ;
157- border-radius : 50% ;
158- border : 1px solid #4f4f4f ;
159- background-color : #fff ;
157+ // border-radius: 50%;
158+ // border: 1px solid #4f4f4f;
159+ // background-color: #fff;
160+ background-image : url(' ./icons/add-circle.svg' ) ;
161+ background-repeat : no-repeat ;
162+ background-size : contain ;
163+ background-position : center ;
164+
160165 pointer-events : all ;
161166 z-index : 9 ;
162167 & .minus {
168+ background-image : url(' ./icons/minus-circle.svg' ) !important ;
163169 transition : all 0.3s ;
164170 opacity : 0 ;
165171 & :hover {
Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ export function createInputDiv(tpc: Topic) {
162162export const createExpander = function ( expanded : boolean | undefined ) : Expander {
163163 const expander : Expander = $d . createElement ( 'epd' )
164164 // 包含未定义 expanded 的情况,未定义视为展开
165- expander . innerText = expanded !== false ? '- ' : '+ '
165+ // expander.innerText = expanded !== false ? '⊖ ' : '⊕ '
166166 expander . expanded = expanded !== false
167167 expander . className = expanded !== false ? 'minus' : ''
168168 return expander
Original file line number Diff line number Diff line change @@ -27,17 +27,18 @@ let config = {
2727 test : / \. c s s $ / ,
2828 use : [ 'style-loader' , 'css-loader' ] ,
2929 } ,
30- {
31- test : / \. ( t t f | w o f f | w o f f 2 | e o t | s v g ) $ / i,
32- use : [
33- {
34- loader : 'url-loader' ,
35- options : {
36- limit : 8192 ,
37- } ,
38- } ,
39- ] ,
40- } ,
30+ { test : / \. s v g / , type : 'asset/inline' } ,
31+ // {
32+ // test: /\.(ttf|woff|woff2|eot|svg)$/i,
33+ // use: [
34+ // {
35+ // loader: 'url-loader',
36+ // options: {
37+ // limit: false,
38+ // },
39+ // },
40+ // ],
41+ // },
4142 ] ,
4243 } ,
4344}
You can’t perform that action at this time.
0 commit comments