fix(home): separate mega-cta from tile-link-overlay (was overlapping with objective)
Before: .tile-link-overlay contained the .mega-cta text. Both overlay and .mega-objective were positioned at the bottom of the tile, causing visual overlap. After: .mega-cta is a normal-flow <span> in tile-body (pushed to bottom via margin-top: auto). .tile-link-overlay is now an empty click target (no inner content, no padding, no flex).
This commit is contained in:
@@ -854,15 +854,9 @@ p {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
z-index: 1;
|
||||
display: block;
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
padding: 32px;
|
||||
}
|
||||
.tile-link-overlay .mega-cta {
|
||||
margin-top: 0;
|
||||
font-weight: 700;
|
||||
}
|
||||
.bento-tile > *:not(.tile-link-overlay) {
|
||||
position: relative;
|
||||
|
||||
Reference in New Issue
Block a user