File tree Expand file tree Collapse file tree 2 files changed +15
-5
lines changed
Expand file tree Collapse file tree 2 files changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -119,14 +119,14 @@ export default ((opts?: Partial<MindmapOptions>) => {
119119
120120 if ( mode === "global" ) {
121121 return (
122- < div class = { classNames ( displayClass , "global-mindmap" ) } >
122+ < div class = { classNames ( displayClass , "global-mindmap mindmap " ) } >
123123 { portal }
124124 </ div >
125125 )
126126 }
127127
128128 return (
129- < div class = { classNames ( displayClass , "local-mindmap" ) } >
129+ < div class = { classNames ( displayClass , "local-mindmap mindmap " ) } >
130130 < h3 > { i18n ( cfg . locale ) . components . mindmap . title } </ h3 >
131131 < div class = "mindmap-outer" >
132132 < div
Original file line number Diff line number Diff line change 5555 .mindmap-toolbar {
5656 position : absolute ;
5757 top : 10 ;
58- left : 0 ;
59- right : 0 ;
60- width : 100 % ;
58+ left : 50 % ;
59+ transform : translateX ( -50 % ) ;
60+ width : auto ;
6161 color : var (--tertiary );
62+ padding : 0 0.5rem ;
63+ border-radius : 10px ;
64+ background-color : var (--light );
65+ box-shadow : 0 0 4px var (--darkgray );
6266
6367 .mm-toolbar-brand {
6468 display : none ;
7377
7478 .mm-toolbar-item {
7579 cursor : pointer ;
80+ display : flex ;
81+
82+ & svg {
83+ justify-content : center ;
84+ align-items : center ;
85+ }
7686 }
7787
7888 .active {
You can’t perform that action at this time.
0 commit comments