mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-28 05:52:51 -06:00
RGL Browser: a bunch of style updates to make it less fugly
This commit is contained in:
@@ -127,7 +127,7 @@ $(document).ready(function() {
|
||||
}
|
||||
|
||||
var setTitle = function(s){
|
||||
$('#tabbar h2').html(s);
|
||||
$('#module_name').html(s);
|
||||
$('title').html(state.title + ": " + s);
|
||||
}
|
||||
|
||||
@@ -189,7 +189,7 @@ $(document).ready(function() {
|
||||
return false;
|
||||
})
|
||||
// .appendTo("#tabbar")
|
||||
.insertBefore("#tabbar *:last-child")
|
||||
.insertAfter("#tabbar *:last-child")
|
||||
});
|
||||
showPanel(".panel:first");
|
||||
|
||||
@@ -232,7 +232,6 @@ $(document).ready(function() {
|
||||
if (!module) continue;
|
||||
$('<a>')
|
||||
.html(module)
|
||||
.addClass('button')
|
||||
.attr('href', "#"+lang+"/"+module+".gf")
|
||||
.appendTo("#modules");
|
||||
}
|
||||
@@ -406,7 +405,8 @@ $(document).ready(function() {
|
||||
});
|
||||
|
||||
var recalculateHeights = function() {
|
||||
$('body').height( $(window).height()-60); // just found empirically
|
||||
var x = 40; // just found empirically
|
||||
$('body').height( $(window).height()-x);
|
||||
$('.maxheight').each(function(){
|
||||
var obj = $(this);
|
||||
var parent = obj.parent();
|
||||
|
||||
Reference in New Issue
Block a user