Fix text overlap on desktop screens by increasing content margins and button width
This commit is contained in:
@ -1074,7 +1074,7 @@ body.wp-admin .button.pricing-button:hover,
|
||||
#recommended .plugin-card .name,
|
||||
#recommended .plugin-card .desc {
|
||||
margin-left: 84px;
|
||||
margin-right: 130px; /* Increase right margin to prevent text from going behind buttons */
|
||||
margin-right: 150px; /* Increase right margin to prevent text going behind buttons */
|
||||
}
|
||||
|
||||
#recommended .plugin-card .name h3 {
|
||||
@ -1094,14 +1094,14 @@ body.wp-admin .button.pricing-button:hover,
|
||||
|
||||
#recommended .plugin-card .action-links {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
top: 24px;
|
||||
right: 0;
|
||||
width: 120px;
|
||||
width: 140px; /* Slightly increase width for buttons */
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-end;
|
||||
gap: 8px;
|
||||
padding-right: 20px; /* Add padding to give text more space */
|
||||
padding-right: 20px; /* Keep padding to give text more space */
|
||||
}
|
||||
|
||||
#recommended .plugin-card .plugin-action-buttons {
|
||||
@ -1372,4 +1372,12 @@ body.wp-admin .button.pricing-button:hover,
|
||||
padding-left: 25px !important;
|
||||
margin-left: 0 !important;
|
||||
list-style-type: disc !important;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 1100px) {
|
||||
/* Ensure text doesn't overlap buttons on wide screens */
|
||||
#recommended .plugin-card .name,
|
||||
#recommended .plugin-card .desc {
|
||||
margin-right: 160px;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user