Elektrine lite

← Feed

@kizu@front-end.social

2026-04-29 15:40 UTC

@anatudor@mastodon.social @patrickbrosset@mas.to @hejchristian@front-end.social @chriskirknielsen@front-end.social I guess, the main downside with this implementation is that the interactive/clickable area of each element now extends outside of it?

Replies (2)

  • @anatudor@mastodon.social 2026-04-29 16:26

    @kizu@front-end.social @patrickbrosset@mas.to @hejchristian@front-end.social @chriskirknielsen@front-end.social Yup. To get around that, I'd use an absolutely positioned pseudo that extends outside the parent by the desired line extension and use this tactic on it, then give the pseudo pointer-events: none.

    Open ##5251844

  • @kizu@front-end.social @anatudor@mastodon.social @patrickbrosset@mas.to @chriskirknielsen@front-end.social Perhaps I'm not understanding, but couldn't we get around that by putting any interactive/clickable content within another container? I added a div.item-content in the screenshot below. div.item div.item-content I just apply a margin: $l / 2; so it fits within with .item conic-gradient generated borders It's not elegant, but it seems to work 🤔

    Open ##5251849