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