Skip to content

Commit 10d4dea

Browse files
committed
1.9.2 - Small fixes
1 parent d79241f commit 10d4dea

File tree

5 files changed

+70
-59
lines changed

5 files changed

+70
-59
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@ Just take files from ***dist*** folder
5353

5454
## Changelog
5555
Angular2 YT Player v1.9.2
56-
- Webpage is now fully responsive
57-
- UX improvements
56+
- UX improvements and fixes
5857

5958
Angular2 YT Player v1.9.1
6059
- Get settings.json for localstorage if your localstorage is empty

dist/assets/css/main.css

Lines changed: 23 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ a:active {
203203
}
204204

205205
:root {
206-
--menu-diff: 175px;
206+
--menu-diff: 160px;
207207
}
208208

209209
.container {
@@ -216,7 +216,7 @@ a:active {
216216
}
217217

218218
.col-1 {
219-
width: 350px;
219+
width: 320px;
220220
}
221221

222222
.col-2 {
@@ -2250,7 +2250,10 @@ iframe {
22502250
width: 100%;
22512251
}
22522252
#app-container > .container {
2253-
flex-wrap: wrap;
2253+
display: block;
2254+
}
2255+
#app-container.light-mode > .container {
2256+
background-color: var(--c-white);
22542257
}
22552258
.app-content {
22562259
overflow: visible;
@@ -2265,25 +2268,25 @@ iframe {
22652268
position: relative;
22662269
height: 160px;
22672270
}
2271+
#feed-video-list {
2272+
position: relative;
2273+
width: 100%;
2274+
}
2275+
.video-list-featured {
2276+
margin: 10px -10px 0;
2277+
}
2278+
.form-select, .form-text {
2279+
display: block;
2280+
}
2281+
.form-select label, .form-text label {
2282+
margin-bottom: 5px;
2283+
}
2284+
#playlist-video-list .playlist-video-content {
2285+
bottom: 45px;
2286+
height: calc(100% - 84px);
2287+
}
22682288
}
22692289

2270-
/*
2271-
@media screen and (max-width: 991px) {
2272-
body {
2273-
overflow: visible;
2274-
}
2275-
.contanier {
2276-
display: block;
2277-
}
2278-
.col {
2279-
&-2,
2280-
&-3 {
2281-
width: 100%;
2282-
height: 100%;
2283-
}
2284-
2285-
}
2286-
}*/
22872290
.application #app-container > .container {
22882291
height: calc(100% - 26px);
22892292
}

scss/_grid.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
:root {
2-
--menu-diff: 175px;
2+
--menu-diff: 160px;
33
}
44

55
.container {
@@ -10,7 +10,7 @@
1010
.col {
1111
position: relative;
1212
&-1 {
13-
width: 350px;
13+
width: 320px;
1414
}
1515
&-2 {
1616
width: calc(40% - var(--menu-diff));

scss/_responsive.scss

Lines changed: 21 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,10 @@
143143
}
144144
#app-container {
145145
& > .container {
146-
flex-wrap: wrap;
146+
display: block;
147+
}
148+
&.light-mode > .container {
149+
background-color: var(--c-white);
147150
}
148151
}
149152
.app-content {
@@ -160,22 +163,25 @@
160163
height: 160px;
161164
}
162165
}
163-
}
164166

165-
/*
166-
@media screen and (max-width: 991px) {
167-
body {
168-
overflow: visible;
167+
#feed-video-list {
168+
position: relative;
169+
width: 100%;
169170
}
170-
.contanier {
171-
display: block;
171+
172+
.video-list-featured {
173+
margin: 10px -10px 0;
172174
}
173-
.col {
174-
&-2,
175-
&-3 {
176-
width: 100%;
177-
height: 100%;
175+
176+
.form-select, .form-text {
177+
display: block;
178+
label {
179+
margin-bottom: 5px;
178180
}
179-
180181
}
181-
}*/
182+
183+
#playlist-video-list .playlist-video-content {
184+
bottom: 45px;
185+
height: calc(100% - 84px);
186+
}
187+
}

src/assets/css/main.css

Lines changed: 23 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ a:active {
203203
}
204204

205205
:root {
206-
--menu-diff: 175px;
206+
--menu-diff: 160px;
207207
}
208208

209209
.container {
@@ -216,7 +216,7 @@ a:active {
216216
}
217217

218218
.col-1 {
219-
width: 350px;
219+
width: 320px;
220220
}
221221

222222
.col-2 {
@@ -2250,7 +2250,10 @@ iframe {
22502250
width: 100%;
22512251
}
22522252
#app-container > .container {
2253-
flex-wrap: wrap;
2253+
display: block;
2254+
}
2255+
#app-container.light-mode > .container {
2256+
background-color: var(--c-white);
22542257
}
22552258
.app-content {
22562259
overflow: visible;
@@ -2265,25 +2268,25 @@ iframe {
22652268
position: relative;
22662269
height: 160px;
22672270
}
2271+
#feed-video-list {
2272+
position: relative;
2273+
width: 100%;
2274+
}
2275+
.video-list-featured {
2276+
margin: 10px -10px 0;
2277+
}
2278+
.form-select, .form-text {
2279+
display: block;
2280+
}
2281+
.form-select label, .form-text label {
2282+
margin-bottom: 5px;
2283+
}
2284+
#playlist-video-list .playlist-video-content {
2285+
bottom: 45px;
2286+
height: calc(100% - 84px);
2287+
}
22682288
}
22692289

2270-
/*
2271-
@media screen and (max-width: 991px) {
2272-
body {
2273-
overflow: visible;
2274-
}
2275-
.contanier {
2276-
display: block;
2277-
}
2278-
.col {
2279-
&-2,
2280-
&-3 {
2281-
width: 100%;
2282-
height: 100%;
2283-
}
2284-
2285-
}
2286-
}*/
22872290
.application #app-container > .container {
22882291
height: calc(100% - 26px);
22892292
}

0 commit comments

Comments
 (0)