mirror of
https://github.com/HackTricks-wiki/hacktricks-cloud.git
synced 2026-06-12 19:11:44 -07:00
Prevent sponsor text CTA overlap
This commit is contained in:
+8
-2
@@ -139,8 +139,8 @@
|
|||||||
transition-duration: .3s;
|
transition-duration: .3s;
|
||||||
}
|
}
|
||||||
.sidesponsor:hover img{
|
.sidesponsor:hover img{
|
||||||
width: 52px;
|
width: 42px;
|
||||||
padding: 6px;
|
padding: 4px;
|
||||||
grid-area: sponsor-image;
|
grid-area: sponsor-image;
|
||||||
align-self: start;
|
align-self: start;
|
||||||
}
|
}
|
||||||
@@ -192,9 +192,11 @@
|
|||||||
display:block;
|
display:block;
|
||||||
grid-area: sponsor-description;
|
grid-area: sponsor-description;
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
|
max-height: 100%;
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
overscroll-behavior: contain;
|
||||||
}
|
}
|
||||||
.sidesponsor .sponsor-cta{
|
.sidesponsor .sponsor-cta{
|
||||||
margin-top: auto;
|
margin-top: auto;
|
||||||
@@ -210,6 +212,10 @@
|
|||||||
.sidesponsor:hover .sponsor-cta{
|
.sidesponsor:hover .sponsor-cta{
|
||||||
grid-area: sponsor-cta;
|
grid-area: sponsor-cta;
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
|
margin-bottom: 4px;
|
||||||
|
padding: 4px 6px;
|
||||||
|
font-size: 0.9rem;
|
||||||
|
line-height: 1.1;
|
||||||
}
|
}
|
||||||
.sidesponsor-bsa {
|
.sidesponsor-bsa {
|
||||||
max-height: 40%;
|
max-height: 40%;
|
||||||
|
|||||||
Reference in New Issue
Block a user