File tree Expand file tree Collapse file tree 2 files changed +14
-9
lines changed Expand file tree Collapse file tree 2 files changed +14
-9
lines changed Original file line number Diff line number Diff line change 1
- <div class =" mermaid overflow-x-auto p-3 mb-4" data-lang =" {{ codes | split: ' ' | first }}" >{{ codes }}</div >
1
+ <div class =" mermaid-wrap mb-4" data-lang =" {{ codes | split: ' ' | first }}" >
2
+ <div class =" mermaid overflow-x-auto p-3" >{{ codes }}</div >
3
+ </div >
Original file line number Diff line number Diff line change 4
4
5
5
& :after {
6
6
position : absolute ;
7
- right : 0 ;
8
- top : 0 ;
7
+ right : 0 px ;
8
+ top : 0 px ;
9
9
font-family : $mono-font ;
10
10
font-size : $font-size-small ;
11
11
content : attr (data-lang );
97
97
margin-right : 3px ;
98
98
}
99
99
100
- // improved mermaid
101
- // .mermaid:not([data-processed="true"])
102
- .mermaid {
103
- font-size : $font-size-small ;
104
- font-family : $mono-font ;
105
- white-space : pre ;
100
+ // mermaid improved
101
+ .mermaid-wrap {
106
102
@extend .d-lang ;
107
103
// mdl
108
104
@include shadow-2dp ();
105
+
106
+ // .mermaid:not([data-processed="true"])
107
+ .mermaid {
108
+ font-size : $font-size-small ;
109
+ font-family : $mono-font ;
110
+ white-space : pre ;
111
+ }
109
112
}
110
113
}
You can’t perform that action at this time.
0 commit comments