Update v2h_templates.py

Added some CSS styling to support highlighting a row on hover. Also applying a max width to the table to prevent the country table to grow too wide
This commit is contained in:
Claudius 2019-05-14 22:22:24 +02:00 committed by GitHub
parent ed62fc71d3
commit 21641babe7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,6 +33,12 @@ th {
color: #888;
opacity: 0.5;
}
table {
max-width: 900px;
}
tr:hover td:nth-child(n+2) {
background: lightblue;
}
</style>
'''