You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The whole tile is not clickable. There is a spacing around the link where it shows the hover state but it is not clickable
This seems to be happening because of extra padding in the div surrounding the a tag ideally the padding should be present in the a tag instead of the div to solve this issue
Steps to Reproduce
Visit a calendar
Try clicking on the edges of the meeting tile nothing will happen
Expected Results
Clicking anywhere on the tile should open the link not just in the center
Evidence
I was able to recreate this bug in Firefox 127, Chrome 125
The text was updated successfully, but these errors were encountered:
CSS Adjustments:
Remove the padding from the div and add it to the a tag.
.calendar-tile {
padding:0; /* Remove padding from the div */
}
.calendar-link {
display: block; /* Make the a tag a block element */padding:1rem; /* Add padding to the a tag */
}
This way, the entire area of the a tag will be clickable, making the calendar tile fully interactive [1].
Additionally, ensure that any existing CSS classes or styles applied to the div and a tags are adjusted accordingly. The a tag inherits styles from global CSS rules, such as:
a {
color: inherit;
text-decoration: inherit;
}
These styles ensure that the a tag inherits the color and text-decoration properties from its parent elements [1].
Be aware that there is a JavaScript onClick event listener associated with the calendar tile. Changing the padding from the div to the a tag could potentially affect the layout and the area where the onClick event is triggered [2].
If you need further assistance, @keithwillcode might be able to provide additional guidance.
Issue Summary
div
surrounding thea
tag ideally the padding should be present in thea
tag instead of thediv
to solve this issueSteps to Reproduce
Expected Results
Clicking anywhere on the tile should open the link not just in the center
Evidence
The text was updated successfully, but these errors were encountered: