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

Commit 6506f31

Browse files
author
Victor George
committed
final fixes
1 parent 9876ed3 commit 6506f31

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

app/directives/tc-sticky/tc-sticky.directive.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
scope.width = element.prop('offsetWidth');
1212
var elWidth = scope.width + 'px',
1313
elChild = angular.element(element[0].querySelector(':first-child'));
14-
elChild.css('width', elWidth);
14+
// elChild.css('width', elWidth);
1515
angular.element($window).bind("scroll", function() {
1616
var affixElement = document.getElementById('affix'),
1717
xPosition = 0,

assets/css/profile/about.scss

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,30 +24,33 @@
2424
.profile-header-container {
2525
background: transparent;
2626
width: 100%;
27+
max-width: 100%;
2728
margin-bottom: 5px;
2829
display: flex;
2930
position: relative;
3031
margin-left: 10px;
3132

32-
3333
@media (min-width: 768px) {
3434
max-width: 368px;
3535
margin: 0 auto;
3636
padding-right: 10px;
3737
display: block;
3838
position: relative;
39-
4039
}
4140

4241
// Sticky container
4342
.sticky-container {
4443
background-color: white;
4544
margin: 0 auto;
46-
display: block;
47-
width: 100%;
45+
padding: 0;
46+
display: flex;
47+
width: auto;
48+
max-width: auto;
49+
4850
@media (min-width: 768px){
51+
display: block;
4952
box-sizing: border-box;
50-
width: 338px;
53+
width: 368px;
5154
margin: 0;
5255
}
5356
padding: 30px 34px;

0 commit comments

Comments
 (0)