Skip to content

Commit b09cf4e

Browse files
emergieVladimir Kotal
authored andcommitted
searchable-option-list workaround for less jumpy page loading in firefox and chrome
1 parent 9030e27 commit b09cf4e

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

web/default/style.css

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1242,6 +1242,22 @@ h6.message-group-caption {
12421242
*zoom: 1;
12431243
}
12441244

1245+
/** --------------- sol workaround ------------ */
1246+
1247+
select#project, select#type {
1248+
height: 20px;
1249+
width: 30px;
1250+
visibility: hidden;
1251+
}
1252+
1253+
td#projectLabelTd {
1254+
height: 24px;
1255+
}
1256+
1257+
td#typeLabelTd {
1258+
height: 26px;
1259+
}
1260+
12451261
/** ---------------- markdown readme format ----- */
12461262

12471263
.markdown {

web/menu.jspf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ org.opensolaris.opengrok.web.Util"
8585
%>
8686
<tbody id="ptbl">
8787
<tr>
88-
<td>
88+
<td id="projectLabelTd">
8989
<label for="project">Project(s)</label>
9090
</td>
9191
<td colspan="2">
@@ -193,7 +193,7 @@ org.opensolaris.opengrok.web.Util"
193193
}
194194
%>
195195
<tr>
196-
<td><label for="s5">Type</label></td>
196+
<td id="typeLabelTd"><label for="s5">Type</label></td>
197197
<td><select class="q" tabindex="6" name="type" id="type"><%
198198
String selection = queryParams.getType();
199199
%>

0 commit comments

Comments
 (0)