diff --git a/aio/src/app/embedded/contributor/contributor.component.ts b/aio/src/app/embedded/contributor/contributor.component.ts
index b2aba27c03..dd275d1a3f 100644
--- a/aio/src/app/embedded/contributor/contributor.component.ts
+++ b/aio/src/app/embedded/contributor/contributor.component.ts
@@ -11,7 +11,7 @@ import { CONTENT_URL_PREFIX } from 'app/documents/document.service';
{{person.name}}
-
+
-
-
{{person.name}}
-
{{person.bio}}
+
{{person.bio}}
`
diff --git a/aio/src/styles/2-modules/_contributor.scss b/aio/src/styles/2-modules/_contributor.scss
index a046bcd03e..aeb19ff14b 100644
--- a/aio/src/styles/2-modules/_contributor.scss
+++ b/aio/src/styles/2-modules/_contributor.scss
@@ -99,64 +99,64 @@ aio-contributor {
}
}
- div.contributor-card {
- width: 250px;
- height: 270px;
+ div.contributor-card {
+ width: 250px;
+ height: 270px;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: space-between;
+ position: relative;
+ overflow: hidden;
+ border-radius: 4px;
+ transform-style:preserve-3d;
+ transition:transform ease 500ms;
+
+ h3 {
+ margin: 8px 0;
+ }
+
+ .card-front, .card-back {
+ width: 100%;
+ height: 100%;
+ text-align: center;
display: flex;
flex-direction: column;
- align-items: center;
- justify-content: space-between;
- position: relative;
- overflow: hidden;
- border-radius: 4px;
- transform-style:preserve-3d;
- transition:transform ease 500ms;
+ box-sizing: border-box;
+ }
- h3 {
+ .card-front {
+ justify-content: center;
+ }
+
+ .card-back {
+ height: 100%;
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ padding: 16px 24px;
+ transform:rotateY(180deg);
+
+ section {
+ display: none;
+ }
+
+ p {
margin: 8px 0;
+ font-size: 12px;
+ line-height: 14px;
+ text-align: left;
}
- .card-front, .card-back {
- width: 100%;
- height: 100%;
- text-align: center;
- display: flex;
- flex-direction: column;
- box-sizing: border-box;
- }
+ }
+ &.flipped {
+ transform:rotateY(180deg);
.card-front {
- justify-content: center;
- }
-
- .card-back {
- height: 100%;
- display: flex;
- flex-direction: column;
- justify-content: center;
- padding: 16px 24px;
- transform:rotateY(180deg);
-
- section {
- display: none;
- }
-
- p {
- margin: 8px 0;
- font-size: 12px;
- line-height: 14px;
- text-align: left;
- }
-
- }
-
- &.flipped {
- transform:rotateY(180deg);
- .card-front {
- display: none;
- }
+ display: none;
}
}
+ }
.contributor-image {
display: flex;