Add CSS to display state name on hover

This commit is contained in:
2025-02-25 16:58:08 -05:00
parent d438a91cdf
commit 9cb4385a43

View File

@@ -27,6 +27,12 @@
.state:hover { .state:hover {
stroke-width: 1.5; stroke-width: 1.5;
} }
.stateText {
visibility: hidden;
}
.state:hover ~ .stateText {
visibility: visible;
}
</style> </style>
</head> </head>
<body> <body>