Skip to content

Commit 41d134b

Browse files
committed
1.3 - Small align adjustments
1 parent e40e37c commit 41d134b

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

src/assets/css/main.css

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -858,7 +858,7 @@ iframe {
858858
align-items: center;
859859
background-color: #ffffff;
860860
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
861-
padding: 10px 15px;
861+
padding: 10px 10px 0;
862862
cursor: pointer;
863863
}
864864

@@ -871,6 +871,10 @@ iframe {
871871
margin: 0;
872872
}
873873

874+
.video-item:last-child {
875+
padding-bottom: 10px;
876+
}
877+
874878
.video-item-image {
875879
flex: 0 0 55px;
876880
margin: 0 10px 0 0;
@@ -918,7 +922,7 @@ iframe {
918922
height: calc(100% - 39px);
919923
width: 100%;
920924
overflow: auto;
921-
background-color: #f5f5f5;
925+
background-color: #ffffff;
922926
}
923927

924928
#related-video-list .related-video-content::-webkit-scrollbar-track {
@@ -952,7 +956,6 @@ iframe {
952956

953957
#feed-video-list .video-item {
954958
background-color: transparent;
955-
padding: 10px 5px;
956959
border-bottom: none;
957960
}
958961

src/assets/scss/_videos.scss

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ iframe {
4646
align-items: center;
4747
background-color: $c-white;
4848
border-bottom: 1px solid rgba($c-black,0.05);
49-
padding: 10px 15px;
49+
padding: 10px 10px 0;
5050
cursor: pointer;
5151
h2 {
5252
font-size: $f-14;
@@ -55,6 +55,9 @@ iframe {
5555
p {
5656
margin: 0;
5757
}
58+
&:last-child {
59+
padding-bottom: 10px;
60+
}
5861
}
5962

6063
.video-item-image {
@@ -98,7 +101,7 @@ iframe {
98101
height: calc(100% - 39px);
99102
width: 100%;
100103
overflow: auto;
101-
background-color: $c-default;
104+
background-color: $c-white;
102105
&::-webkit-scrollbar-track {
103106
border-radius: 2px;
104107
}
@@ -129,7 +132,6 @@ iframe {
129132
padding-left: 15px;
130133
.video-item {
131134
background-color: transparent;
132-
padding: 10px 5px;
133135
border-bottom: none;
134136
}
135137
&::-webkit-scrollbar-track {

0 commit comments

Comments
 (0)