This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ const jsinjectObserver = new ResizeObserver((entries) => {
|
||||
if (isInMobile) {
|
||||
// Здесь можно выполнять любые действия при изменении размера
|
||||
entry.target.style.borderColor = `hsl(${rect.width % 360}, 50%, 50%)`;
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user