mirror of
https://github.com/alberti42/obsidian-plugins-annotations.git
synced 2026-07-22 10:10:24 +00:00
27 lines
658 B
CSS
27 lines
658 B
CSS
/* styles.css */
|
|
|
|
/* Make sure the input field takes the full width of its parent */
|
|
.plugin-comment {
|
|
width: 100%;
|
|
box-sizing: border-box; /* Ensure padding is included in the element's total width and height */
|
|
}
|
|
|
|
.plugin-comment-annotation.plugin-comment-placeholder {
|
|
color: #CCCCCC; /* Standard placeholder color */
|
|
font-style: italic;
|
|
}
|
|
|
|
/* Show comment container when hovering over the plugin container */
|
|
.setting-item:hover .plugin-comment,
|
|
.setting-item:hover .plugin-comment-placeholder {
|
|
display: block;
|
|
}
|
|
|
|
/* Additional styles for consistency */
|
|
.plugin-comment-label {
|
|
padding-top: 5px;
|
|
}
|
|
|
|
.plugin-comment-annotation {
|
|
width: 100%;
|
|
}
|