css: update styling of teams blocks
This commit is contained in:
parent
c7bb2d5cc5
commit
d97022efb7
@ -239,6 +239,7 @@ body:not(.wp-admin) .wp-block-group.team {
|
|||||||
div.team-member-wrapper {
|
div.team-member-wrapper {
|
||||||
// Ensure each item is a square
|
// Ensure each item is a square
|
||||||
aspect-ratio: 1/1;
|
aspect-ratio: 1/1;
|
||||||
|
position: relative;
|
||||||
|
|
||||||
// Resetting height/width to ensure that team member's name covers entire square
|
// Resetting height/width to ensure that team member's name covers entire square
|
||||||
.wp-block-cover,
|
.wp-block-cover,
|
||||||
@ -248,6 +249,7 @@ body:not(.wp-admin) .wp-block-group.team {
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
&:hover {
|
&:hover {
|
||||||
|
cursor: pointer;
|
||||||
.team-member-name {
|
.team-member-name {
|
||||||
visibility: visible;
|
visibility: visible;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user