Update margin-bottom in welcome.css and dragBall position in welcome.js

This commit is contained in:
Mauro Balades
2024-07-04 18:56:13 +02:00
parent 4dfb9879ba
commit 3beb604136
6 changed files with 22 additions and 10 deletions

View File

@@ -135,7 +135,7 @@ input[type='checkbox'] {
}
#search h1 {
margin-bottom: 50px;
margin-bottom: 25px;
}
#theme h1 {

View File

@@ -180,7 +180,7 @@ class Themes extends Page {
ctx.fillRect(0, 0, 1000, 150);
const dragBall = document.getElementById('dragBall');
dragBall.style.left = `0px`;
dragBall.style.left = `17px`;
dragBall.addEventListener('mousedown', (e) => {
const rect = colorList.getBoundingClientRect();
e.preventDefault();