File tree Expand file tree Collapse file tree 1 file changed +11
-14
lines changed Expand file tree Collapse file tree 1 file changed +11
-14
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;
106
- /* Compensate for the absolute positioning of the line numbers */
107
- padding : 0 4.5em ;
108
- }
109
-
110
- .d2h-code-line ,
111
- .d2h-code-side-line {
112
108
user-select : none;
113
109
width : 100% ;
110
+ /* Compensate for the absolute positioning of the line numbers */
111
+ padding : 0 4.5em ;
114
112
}
115
113
116
114
.d2h-code-line-ctn {
117
115
display : inline-block;
116
+ background : none;
117
+ padding : 0 ;
118
+ word-wrap : normal;
119
+ white-space : pre;
118
120
user-select : text;
119
121
width : 100% ;
122
+ vertical-align : middle;
120
123
}
121
124
122
125
.d2h-code-line del ,
126
129
text-decoration : none;
127
130
background-color : # ffb6ba ;
128
131
border-radius : 0.2em ;
132
+ vertical-align : middle;
129
133
}
130
134
131
135
.d2h-code-line ins ,
136
140
background-color : # 97f295 ;
137
141
border-radius : 0.2em ;
138
142
text-align : left;
143
+ vertical-align : middle;
139
144
}
140
145
141
146
.d2h-code-line-prefix {
146
151
white-space : pre;
147
152
}
148
153
149
- .d2h-code-line-ctn {
150
- display : inline;
151
- background : none;
152
- padding : 0 ;
153
- word-wrap : normal;
154
- white-space : pre;
155
- }
156
-
157
154
.line-num1 {
158
155
box-sizing : border-box;
159
156
float : left;
You can’t perform that action at this time.
0 commit comments