Skip to content

Commit 166d016

Browse files
committed
Uploaded image sizes are fixed and centered
1 parent 678b184 commit 166d016

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

styles/userProfile.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ body {
4242
height: 100px;
4343
background-color: #ddd;
4444
border-radius: 50%;
45+
background-size: cover;
46+
background-position: center;
4547
margin-top: 10px;
4648
}
4749

templates/userProfile.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<title>Document</title>
88
</head>
99
<body>
10-
10+
1111

1212
<div class="profile-container">
1313
<div class="section photo-edit-section">

0 commit comments

Comments
 (0)