Browse Source

Show labels again

master
Roderic Day 5 years ago
parent
commit
8c2bb0edfa
2 changed files with 2 additions and 5 deletions
  1. +2
    -2
      apps/video.js
  2. +0
    -3
      pico.html

+ 2
- 2
apps/video.js View File

height: '100%', height: '100%',
width: '100%', width: '100%',
fontFamily: 'monospace', fontFamily: 'monospace',
fontSize: 'xxx-large',
fontSize: 'x-large',
} }
const styleVideo = { const styleVideo = {
objectFit: Settings.get('blackBars') ? 'contain' : 'cover', objectFit: Settings.get('blackBars') ? 'contain' : 'cover',
} }
return m('.video-container', {style: styleOuter}, return m('.video-container', {style: styleOuter},
m('.video-info', {style: styleMeta}, m('.video-info', {style: styleMeta},
m('.username', username),
m(`.label-${username}`, username),
), ),
m('video[playsinline][autoplay]', { m('video[playsinline][autoplay]', {
style: styleVideo, style: styleVideo,

+ 0
- 3
pico.html View File

justify-items: start; justify-items: start;
margin-right: auto; margin-right: auto;
} }
video {
background-color: black;
}
main { main {
overflow: hidden; overflow: hidden;
display: grid; display: grid;

Loading…
Cancel
Save