File tree Expand file tree Collapse file tree 7 files changed +24
-59
lines changed Expand file tree Collapse file tree 7 files changed +24
-59
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,7 @@ class App extends React.Component {
19
19
isTextEditable : true ,
20
20
sttType : 'bbckaldi' ,
21
21
analyticsEvents : [ ] ,
22
- title : 'Ted Talk Kate Kate Darling' ,
23
- fileName : 'Kate Darling Ted Talk'
22
+ title : 'Ted Talk Kate Darling'
24
23
} ;
25
24
}
26
25
@@ -198,13 +197,6 @@ class App extends React.Component {
198
197
onChange = { e => this . handleChangeTranscriptTitle ( e . target . value ) }
199
198
/>
200
199
< br />
201
- < label > Transcript Name</ label >
202
- < input
203
- type = "text"
204
- onChange = { e => this . handleChangeTranscriptName ( e . target . value ) }
205
- value = { this . state . fileName }
206
- />
207
- < br />
208
200
< button onClick = { ( ) => this . clearLocalStorage ( ) } > Clear Local Storage</ button >
209
201
< hr />
210
202
Original file line number Diff line number Diff line change @@ -110,18 +110,6 @@ class PlayerControls extends React.Component {
110
110
handleMuteVolume = { this . props . handleMuteVolume }
111
111
/>
112
112
113
- < div style = { {
114
- color : 'white' ,
115
- textOverflow : 'ellipsis' ,
116
- whiteSpace : 'nowrap' ,
117
- overflow : 'hidden' ,
118
- width : '20vw' ,
119
- display : 'inline-block' ,
120
- marginLeft : '1em'
121
- } } >
122
- { this . props . title }
123
- </ div >
124
-
125
113
</ div >
126
114
) ;
127
115
}
Original file line number Diff line number Diff line change 2
2
3
3
.playerControls {
4
4
/* margin: 1em; */
5
- margin-top : 0.5 em ;
5
+ margin-top : 0.25 em ;
6
6
margin-left : 0.5em ;
7
- margin : 1em ;
7
+ /* margin: 1em; */
8
8
/* display: flex; */
9
9
/* justify-content: flex-start; */
10
10
28
28
background : color-darkest-grey;
29
29
font-size : 1em ;
30
30
cursor : pointer;
31
- /* border-color: black;
32
- border-width: 0.1rem;
33
- border-style: solid; */
34
-
35
31
margin-right : 0.3rem ;
32
+ margin-bottom : 0.3rem ;
36
33
}
37
34
38
35
.playBackRate {
72
69
line-height : 48px ;
73
70
padding : 0 1em ;
74
71
background-color : color-darkest-grey;
72
+ margin-bottom : 0.3rem ;
75
73
}
76
74
77
75
.currentTime {
Original file line number Diff line number Diff line change @@ -373,11 +373,11 @@ class MediaPlayer extends React.Component {
373
373
374
374
const playerControlsSection = (
375
375
< div className = { styles . controlsSection } >
376
- { /* <div className={ styles.titleBox }>
377
- <h1 className={ styles.title }>{ this.props.fileName ? this.props.fileName : this.props.mediaUrl }</h1>
378
- </div> */ }
376
+ < div className = { styles . title } >
377
+ { this . props . title ? this . props . title : '' }
378
+ </ div >
379
379
< PlayerControls
380
- title = { this . props . title ? this . props . title : '' }
380
+ // title={ this.props.title? this.props.title: '' }
381
381
playMedia = { this . togglePlayMedia . bind ( this ) }
382
382
isPlaying = { this . state . isPlaying }
383
383
playbackRate = { this . state . playbackRate }
Original file line number Diff line number Diff line change 4
4
background : black;
5
5
}
6
6
7
+ .title {
8
+ color : white;
9
+ text-overflow : ellipsis;
10
+ white-space : nowrap;
11
+ overflow : hidden;
12
+ width : 97vw ;
13
+ display : inline-block;
14
+ margin-left : 0.5em ;
15
+ }
16
+
7
17
.playerSection {
8
18
display : inline-flex;
9
19
align-items : flex-start;
10
20
width : 100% ;
11
21
}
12
22
13
- .controlsSection {
14
- /* width: 98%; */
15
- /* display: flex; */
16
- /* flex-direction: column; */
17
- }
18
-
19
23
.titleBox {
20
24
border-bottom : 0.02em solid color-light-grey;
21
25
margin-bottom : 1em ;
22
26
}
23
27
24
- .title {
25
- margin : 1em ;
26
- color : white;
27
- height : 1.3em ;
28
- font-size : 16px ;
29
- overflow : hidden;
30
- white-space : nowrap;
31
- text-overflow : ellipsis;
32
- }
33
-
34
28
.helpText {
35
29
margin-top : 0px ;
36
30
margin-bottom : 0.1em ;
41
35
.hideInMobile {
42
36
display : none;
43
37
}
44
-
45
- video {
46
- /* min-width: 50%; */
47
- }
48
38
}
Original file line number Diff line number Diff line change @@ -392,6 +392,7 @@ class TranscriptEditor extends React.Component {
392
392
</ section >
393
393
394
394
</ div >
395
+
395
396
) ;
396
397
}
397
398
}
Original file line number Diff line number Diff line change 16
16
flex-direction : column;
17
17
justify-content : space-evenly;
18
18
flex-wrap : nowrap;
19
- /* min-height: 100vh; */
20
19
background-color : # f9f9f9 ;
21
20
position : relative;
22
21
}
23
22
24
23
.header {
25
24
background-color : black;
26
25
width : 100% ;
27
- /* height: 2em; */
26
+ }
27
+ .aside {
28
+ margin-left : 0.5em ;
28
29
}
29
30
30
31
.nav {
74
75
.header {
75
76
background-color : black;
76
77
width : 100% ;
77
- /* height: 2em; */
78
78
}
79
79
80
80
.nav {
87
87
}
88
88
89
89
.row {
90
- /* display: flex; */
91
90
margin-top : 1em ;
92
91
}
93
92
124
123
.cog {
125
124
font-weight : lighter;
126
125
}
127
-
128
126
}
129
127
130
128
.help {
131
129
cursor : pointer;
132
130
float : right;
133
131
padding-right : 0.5em ;
134
- padding-left : 11em ;
132
+ /* padding-left: 11em; */
135
133
margin : 0.5em 0 ;
136
134
color : white;
137
135
display : block;
138
- /* font-size: 0.8em; */
139
136
font-weight : lighter;
140
137
margin-top : 0.5em ;
141
138
margin-right : 6em ;
148
145
149
146
.helpMessage span {
150
147
display : block;
151
- /* font-size: 0.8em; */
152
148
font-weight : lighter;
153
149
margin-top : 1em ;
154
150
}
You can’t perform that action at this time.
0 commit comments