{"push_id":898769234,"size":1,"distinct_size":1,"ref":"refs/heads/develop","head":"87e0837b512392870954ff5f264ff7964871b3a7","before":"b17ea7eaa5106aa8c7c91fa95bf5cde413673d42","commits":[{"sha":"87e0837b512392870954ff5f264ff7964871b3a7","author":{"email":"11715d30c3bc3a51eda7ee0a69576786223f1cd2@djamil.it","name":"Djamil Legato"},"message":"Reworked Tooltips to be JS based and for a more predictable behavior\n\nTooltips in admin have been CSS based so far. Through the `::before` pseudo technique, tooltips were injected based on the attribute `data-title`.\n\nThis has been causing a great amount of issues and unexpected behavior when elements styles where in combination with a greater picture. For instance, tooltips would get cut off if they were applied to elements inside a CSS3 `columns` setup.\n\nAnother issue was the length of the tooltip, doing multiple lines was never really possible forcing the author to utilize shorter contents.\n\nThis has now been changed to be JS based. A tooltip gets defined via `data-tip=\"content\"` and its position can be defined via `data-tip-place` with options  `top`, `right`, `bottom`, `left` or any combination of those (ie, `data-tip-place=\"top-right\"`). Other options include `data-tip-offset` (horizontal offset), `data-tip-spacing` (vertical offset).\n\nFinally you can also use HTML inside a tooltip, you need to make sure the HTML gets properly encoded, in twig you would do `|raw|e('html_attr')`.\n\n/cc #616, #467, #93","distinct":true,"url":"https://api.github.com/repos/gantry/gantry5/commits/87e0837b512392870954ff5f264ff7964871b3a7"}]}