Skip to content
This repository was archived by the owner on Jul 8, 2025. It is now read-only.

Commit ce8e31e

Browse files
authored
[SHARE-634][Improvement] Limit profile width (#189)
* Limit width of profile page * Remove underlines from links in footer
1 parent 9c893e1 commit ce8e31e

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

app/components/cos-footer/style.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,18 @@ $site-max-width: 1050px; // max width of discover + padding
2727
padding: 10px;
2828
display: flex;
2929
justify-content: center;
30+
31+
> p > a {
32+
text-decoration: none;
33+
}
3034
}
3135

3236
.links {
3337
list-style: none outside none;
38+
39+
> li > a {
40+
text-decoration: none;
41+
}
3442
}
3543

3644
@media (min-width: 768px) {

app/styles/app.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,12 @@ $default-link-hover-color: #23527c;
436436
max-width: $site-max-width;
437437
}
438438

439+
/* Profile page */
440+
.profile-container {
441+
max-width: $site-max-width;
442+
padding: 50px 15px 50px 15px;
443+
}
444+
439445
/* Error page */
440446

441447
.error-image {

app/templates/profile.hbs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
<div class="container">
2-
<br>
3-
<br>
1+
<div class="container profile-container">
42
<div class="row">
53
<div class="col-xs-12">
64
<h1> My Profile</h1>

0 commit comments

Comments
 (0)