From 3ce498e8b30dbeaafa6cae04ebe692c7c930602b Mon Sep 17 00:00:00 2001 From: Cristina Cochior Date: Thu, 29 Oct 2020 13:24:28 +0100 Subject: [PATCH] fixed colophon bug --- static/css/main.css | 6 +++--- templates/layout.html | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/static/css/main.css b/static/css/main.css index fcb1de0..bd6c9bf 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -262,10 +262,10 @@ div#listofpeople{ #colophon { position: absolute; - width: 13%; + width: 10%; z-index: 3; - top: 87%; - left: 42%; + top: 163%; + left: 35%; } #colophondiv { diff --git a/templates/layout.html b/templates/layout.html index d91c940..24d5dc3 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -144,6 +144,8 @@ function getCookie(name) { var thefile = $(this).text(); $.getJSON('{{ url_for('static', filename='js/mergedjson.json') }}', function(test) { $(".name-elements").empty(); + $("#colophondiv").css("display","none"); + colophonstatus = true; // iterate in test[i].librarian to find where the name is present //to get the test[i].debris that goes with it