mirror of
https://github.com/wagtail/wagtail.git
synced 2024-11-29 17:36:49 +01:00
af942a27e4
- Automated reformatting - Manually change code where Prettier reformatting causes issues - Revert "Disable Prettier formatting in CI for now"
22 lines
347 B
SCSS
22 lines
347 B
SCSS
// Displays 'timesince' formatted date with full date on hover
|
|
.human-readable-date {
|
|
overflow: hidden;
|
|
display: block;
|
|
position: relative;
|
|
|
|
&:before {
|
|
position: absolute;
|
|
display: none;
|
|
content: attr(title);
|
|
}
|
|
|
|
&:hover {
|
|
visibility: hidden;
|
|
|
|
&:before {
|
|
visibility: visible;
|
|
display: block;
|
|
}
|
|
}
|
|
}
|