update-admin-ui

This commit is contained in:
hayatie
2024-04-21 12:30:02 +08:00
parent 325b797fc0
commit 842f4a2386
8 changed files with 28 additions and 20 deletions
@@ -77,8 +77,8 @@ export default {
.centered-image {
/* Styles for the image */
max-width: 30%; /* Ensure the image does not exceed container width */
max-height: 30%; /* Ensure the image does not exceed container height */
max-width: 20%; /* Ensure the image does not exceed container width */
max-height: 20%; /* Ensure the image does not exceed container height */
position: relative;
/* top: 50%; */
left: 50%;
@@ -37,7 +37,7 @@ document.addEventListener('DOMContentLoaded', function () {
// Select the image element by its ID
var logoImage = document.getElementById('logo');
// Set the source of the image dynamically
logoImage.src = 'https://i.ibb.co/txhx2N0/My-Ko-PKB-logo-removebg-preview.png'; // Replace this URL with your desired image URL
logoImage.src = 'https://i.ibb.co/txhx2N0/My-Ko-PKB-logo-removebg-preview.png?' + new Date().getTime(); // Replace this URL with your desired image URL
// Add error handling
logoImage.onerror = function() {