mirror of
https://github.com/peritus/obsidian-interactive-ratings.git
synced 2026-07-22 05:43:17 +00:00
fix styles on mobile
This commit is contained in:
parent
b156b7cbc0
commit
7194c97abb
2 changed files with 0 additions and 2 deletions
1
main.ts
1
main.ts
|
|
@ -599,7 +599,6 @@ class InteractiveRatingsPlugin extends Plugin {
|
|||
symbolSpan.style.margin = '0';
|
||||
symbolSpan.style.height = 'auto';
|
||||
symbolSpan.style.display = 'inline-block';
|
||||
symbolSpan.style.width = `${100 / symbolCount}%`; // Make each star take equal width
|
||||
|
||||
overlay.appendChild(symbolSpan);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -20,7 +20,6 @@
|
|||
/* Make touch targets larger on mobile */
|
||||
@media (max-width: 768px) {
|
||||
.interactive-ratings-symbol {
|
||||
min-width: 24px;
|
||||
min-height: 24px;
|
||||
padding: 2px;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue