Commit 7678ff3e authored by royce-matthew's avatar royce-matthew

centered candidate images

parent 7a7c0796
<div style="display: flex; align-items: center;"> <div style="display: flex; align-items: center;">
<div style="display:inline-block; margin-right: 12px; background:url(<%=@candidate.image%>); height:100px; width:100px; background-size:cover; border-radius:50px"></div> <div style="display:inline-block; margin-right: 12px; background:url(<%=@candidate.image%>) center center; height:100px; width:100px; background-size:cover; border-radius:50px"></div>
<div style="display:inline-block"> <div style="display:inline-block">
<h1 style="margin-bottom:3px;"><%= @candidate.full_name%> <h1 style="margin-bottom:3px;"><%= @candidate.full_name%>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment