mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 09:26:27 +03:00
Fix formatting and add subtle borders for tooltips on dark backgrounds
This commit is contained in:
parent
5c06cf71ab
commit
a87da31271
|
@ -10,6 +10,7 @@
|
|||
content: attr(data-tooltip)
|
||||
background: $color-front
|
||||
border-radius: 2px
|
||||
border: 1px solid rgba($color-subtle-dark, 0.5)
|
||||
color: $color-back
|
||||
font: normal 1.3rem/#{1.25} $font-primary
|
||||
text-transform: none
|
||||
|
@ -18,7 +19,6 @@
|
|||
transform: translateX(-50%) translateY(-2px)
|
||||
transition: opacity 0.1s ease-out, transform 0.1s ease-out
|
||||
visibility: hidden
|
||||
//white-space: nowrap
|
||||
min-width: 200px
|
||||
max-width: 300px
|
||||
z-index: 200
|
||||
|
|
Loading…
Reference in New Issue
Block a user