This repository was archived by the owner on Mar 4, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 11
11
scope . width = element . prop ( 'offsetWidth' ) ;
12
12
var elWidth = scope . width + 'px' ,
13
13
elChild = angular . element ( element [ 0 ] . querySelector ( ':first-child' ) ) ;
14
- elChild . css ( 'width' , elWidth ) ;
14
+ // elChild.css('width', elWidth);
15
15
angular . element ( $window ) . bind ( "scroll" , function ( ) {
16
16
var affixElement = document . getElementById ( 'affix' ) ,
17
17
xPosition = 0 ,
Original file line number Diff line number Diff line change 24
24
.profile-header-container {
25
25
background : transparent ;
26
26
width : 100% ;
27
+ max-width : 100% ;
27
28
margin-bottom : 5px ;
28
29
display : flex ;
29
30
position : relative ;
30
31
margin-left : 10px ;
31
32
32
-
33
33
@media (min-width : 768px ) {
34
34
max-width : 368px ;
35
35
margin : 0 auto ;
36
36
padding-right : 10px ;
37
37
display : block ;
38
38
position : relative ;
39
-
40
39
}
41
40
42
41
// Sticky container
43
42
.sticky-container {
44
43
background-color : white ;
45
44
margin : 0 auto ;
46
- display : block ;
47
- width : 100% ;
45
+ padding : 0 ;
46
+ display : flex ;
47
+ width : auto ;
48
+ max-width : auto ;
49
+
48
50
@media (min-width : 768px ){
51
+ display : block ;
49
52
box-sizing : border-box ;
50
- width : 338 px ;
53
+ width : 368 px ;
51
54
margin : 0 ;
52
55
}
53
56
padding : 30px 34px ;
You can’t perform that action at this time.
0 commit comments