From 2689a8ecbea9c24bfe588519c1fe5c76d07c3aed Mon Sep 17 00:00:00 2001 From: Jen Breese-Kauth Date: Wed, 20 Nov 2024 17:30:00 +0000 Subject: [PATCH] fixup --- .../dist/css/component/node/stanford_person.css | 2 +- .../lib/scss/component/node/stanford_person.scss | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/modules/stanford_profile_styles/dist/css/component/node/stanford_person.css b/modules/stanford_profile_styles/dist/css/component/node/stanford_person.css index 7ff2ac2d..4d639424 100644 --- a/modules/stanford_profile_styles/dist/css/component/node/stanford_person.css +++ b/modules/stanford_profile_styles/dist/css/component/node/stanford_person.css @@ -1 +1 @@ -.su-person-photo{max-width:300px;padding:30px 60px 30px 0}.su-person-photo img,.su-person-photo picture{border-radius:50%}.ds-entity--stanford-person a{color:#b1040e}.ds-entity--stanford-person a:active,.ds-entity--stanford-person a:focus,.ds-entity--stanford-person a:hover{color:#2e2d29;text-decoration:underline}.ds-entity--stanford-person h3{font-size:1.4em;margin-bottom:1rem} \ No newline at end of file +.su-person-photo{margin:0 auto;max-width:300px;padding:30px}.su-person-photo img,.su-person-photo picture{border-radius:50%}.ds-entity--stanford-person .su-person-photo{margin:0;padding:30px 60px 30px 0}.ds-entity--stanford-person a{color:#b1040e}.ds-entity--stanford-person a:active,.ds-entity--stanford-person a:focus,.ds-entity--stanford-person a:hover{color:#2e2d29;text-decoration:underline}.ds-entity--stanford-person h3{font-size:1.4em;margin-bottom:1rem} \ No newline at end of file diff --git a/modules/stanford_profile_styles/lib/scss/component/node/stanford_person.scss b/modules/stanford_profile_styles/lib/scss/component/node/stanford_person.scss index 1001760d..444bed3d 100644 --- a/modules/stanford_profile_styles/lib/scss/component/node/stanford_person.scss +++ b/modules/stanford_profile_styles/lib/scss/component/node/stanford_person.scss @@ -3,7 +3,8 @@ // Make the people referenced entity pictures circles. .su-person-photo { - @include padding(30px 60px 30px 0); + @include margin(0 auto); + @include padding(30px); max-width: 300px; picture, @@ -13,6 +14,10 @@ } .ds-entity--stanford-person { + .su-person-photo { + @include margin(0); + @include padding(30px 60px 30px 0); + } a { color: $su-color-bright-red;