Spaces:
Running
Running
File size: 706 Bytes
c7419b0 b86d80a c7419b0 b86d80a c7419b0 b86d80a c7419b0 b86d80a c7419b0 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | /* Custom styles for drawing app */
#drawingCanvas {
touch-action: none; /* Prevent scrolling on touch devices */
}
/* Tooltip styles */
.tooltip {
position: relative;
display: inline-block;
}
.tooltip .tooltiptext {
visibility: hidden;
width: 120px;
background-color: #333;
color: #fff;
text-align: center;
border-radius: 6px;
padding: 5px;
position: absolute;
z-index: 1;
bottom: 125%;
left: 50%;
margin-left: -60px;
opacity: 0;
transition: opacity 0.3s;
}
.tooltip:hover .tooltiptext {
visibility: visible;
opacity: 1;
}
/* Responsive canvas */
@media (max-width: 768px) {
#drawingCanvas {
height: 60vh;
}
} |