mirror of
https://git.datalinker.icu/kijai/ComfyUI-KJNodes.git
synced 2026-01-23 18:54:34 +08:00
bit smaller close button
This commit is contained in:
parent
c03dfa2d62
commit
2d4edf860c
@ -190,14 +190,14 @@ const create_documentation_stylesheet = () => {
|
||||
|
||||
// close button
|
||||
const closeButton = document.createElement('div');
|
||||
closeButton.textContent = '❌'; // Use an emoji or text for the close button
|
||||
closeButton.textContent = '❌';
|
||||
closeButton.style.position = 'absolute';
|
||||
closeButton.style.top = '0';
|
||||
closeButton.style.right = '0';
|
||||
closeButton.style.cursor = 'pointer';
|
||||
closeButton.style.padding = '5px'; // Add some padding around the text
|
||||
closeButton.style.color = 'red'; // Set the text color
|
||||
closeButton.style.fontSize = '16px'; // Adjust the font size as needed
|
||||
closeButton.style.padding = '5px';
|
||||
closeButton.style.color = 'red';
|
||||
closeButton.style.fontSize = '12px';
|
||||
|
||||
docElement.appendChild(closeButton)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user