Fixed regression of the 'Edit website' button on the welcome page. Major design tweaks to login and header bar

This commit is contained in:
Andy Dixon
2024-11-18 20:29:46 +00:00
parent b68c69ebe8
commit 1245ed9f5f
8 changed files with 133 additions and 142 deletions
+3 -3
View File
@@ -266,7 +266,7 @@ $(document).ready(function () {
$(this).find('.buttonContainer').remove();
addButtonsToNeoDupe(this);
});
$('#urlbox').html("<strong>Editing:</strong> <div>"+$(iframeDoc)[0].URL+"</div>");
$('#urlbox').html("<strong>Editing:</strong> <div>" + $(iframeDoc)[0].URL + "</div>");
}
// Function to add buttons to a neo-dupe element inside the iframe
@@ -274,7 +274,7 @@ $(document).ready(function () {
/**
* DANGER WILL ROBINSON: This may break stuff, but is needed for the buttons to be positioned properly
* Since this is alpha, lets see how we go.
* Lets see how we go.
*/
if ($(element).css('position') === 'static') {
$(element).css('position', 'relative');
@@ -285,7 +285,7 @@ $(document).ready(function () {
$buttonContainer.css("position", "absolute");
$buttonContainer.css("top", "5px");
$buttonContainer.css("right", "5px");
$buttonContainer.css("z-index","9999");
$buttonContainer.css("z-index", "9999");
var $duplicateBeforeButton = $(iframeDoc.createElement('button'));