update-admin-ui
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user