0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 17:36:49 +01:00
wagtail/client/scss/components/_human-readable-date.scss
Thibaud Colas af942a27e4
Reformat codebase with Prettier (#7912)
- Automated reformatting
- Manually change code where Prettier reformatting causes issues
- Revert "Disable Prettier formatting in CI for now"
2022-02-04 11:57:55 +00:00

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;
}
}
}