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 {
|
||||
// Ensure each item is a square
|
||||
aspect-ratio: 1/1;
|
||||
position: relative;
|
||||
|
||||
// Resetting height/width to ensure that team member's name covers entire square
|
||||
.wp-block-cover,
|
||||
@ -248,6 +249,7 @@ body:not(.wp-admin) .wp-block-group.team {
|
||||
padding: 0;
|
||||
}
|
||||
&:hover {
|
||||
cursor: pointer;
|
||||
.team-member-name {
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user