Skip to content

Commit da94ae2

Browse files
author
p01
committed
Fixed scrolling issues with CODE resources
1 parent d0ad0e3 commit da94ae2

File tree

1 file changed

+18
-10
lines changed

1 file changed

+18
-10
lines changed

src/resource-manager/resource_style.css

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,8 @@
129129
white-space: pre;
130130
background-color: #f3f3f3;
131131
border-right: 1px solid #e9e9e9;
132-
min-height: 100%;
132+
height: 100%;
133+
box-sizing: border-box;
133134
}
134135

135136
.font-preview
@@ -176,15 +177,21 @@
176177
.resource-detail-container-empty
177178
{
178179
height: 100%;
180+
width:100%;
181+
position: relative;
179182
overflow: auto;
180183
}
181184

182185
.resource-detail-script-container,
183186
.resource-detail-css-container,
184187
.resource-detail-markup-container
185188
{
186-
height: 100%;
187-
position: relative;
189+
position: absolute;
190+
top: 55px;
191+
left: 0px;
192+
right: 0px;
193+
bottom: 0px;
194+
box-sizng:border-box;
188195
}
189196

190197
.resource-detail-container-empty
@@ -203,13 +210,19 @@
203210

204211
.resource-detail-overview-url
205212
{
206-
display: block;
207-
white-space: nowrap;
208213
overflow: hidden;
209214
text-overflow: ellipsis;
210215
color: #000;
211216
}
212217

218+
.resource-detail-overview-url,
219+
.resource-detail-overview-type,
220+
.resource-detail-overview-size
221+
{
222+
display: block;
223+
white-space: nowrap;
224+
}
225+
213226
.resource-detail-text-container,
214227
.resource-detail-image-container,
215228
.resource-detail-others-container,
@@ -237,11 +250,6 @@ a.external:hover
237250
text-decoration: underline;
238251
}
239252

240-
.resource-detail-overview-type
241-
{
242-
display: block;
243-
}
244-
245253
.resource-detail-view
246254
{
247255
padding: 0;

0 commit comments

Comments
 (0)