File tree Expand file tree Collapse file tree 1 file changed +17
-8
lines changed Expand file tree Collapse file tree 1 file changed +17
-8
lines changed Original file line number Diff line number Diff line change 96
96
.d2h-code-line {
97
97
display : inline-block;
98
98
white-space : nowrap;
99
+ user-select : none;
100
+ width : 100% ;
99
101
/* Compensate for the absolute positioning of the line numbers */
100
102
padding : 0 8em ;
101
103
}
102
104
103
105
.d2h-code-side-line {
104
106
display : inline-block;
105
107
white-space : nowrap;
108
+ user-select : none;
109
+ width : 100% ;
106
110
/* Compensate for the absolute positioning of the line numbers */
107
111
padding : 0 4.5em ;
108
112
}
109
113
114
+ .d2h-code-line-ctn {
115
+ display : inline-block;
116
+ background : none;
117
+ padding : 0 ;
118
+ word-wrap : normal;
119
+ white-space : pre;
120
+ user-select : text;
121
+ width : 100% ;
122
+ vertical-align : middle;
123
+ }
124
+
110
125
.d2h-code-line del ,
111
126
.d2h-code-side-line del {
112
127
display : inline-block;
113
128
margin-top : -1px ;
114
129
text-decoration : none;
115
130
background-color : # ffb6ba ;
116
131
border-radius : 0.2em ;
132
+ vertical-align : middle;
117
133
}
118
134
119
135
.d2h-code-line ins ,
124
140
background-color : # 97f295 ;
125
141
border-radius : 0.2em ;
126
142
text-align : left;
143
+ vertical-align : middle;
127
144
}
128
145
129
146
.d2h-code-line-prefix {
134
151
white-space : pre;
135
152
}
136
153
137
- .d2h-code-line-ctn {
138
- display : inline;
139
- background : none;
140
- padding : 0 ;
141
- word-wrap : normal;
142
- white-space : pre;
143
- }
144
-
145
154
.line-num1 {
146
155
box-sizing : border-box;
147
156
float : left;
You can’t perform that action at this time.
0 commit comments