瀏覽代碼

Show labels again

master
Roderic Day 4 年之前
父節點
當前提交
8c2bb0edfa
共有 2 個檔案被更改,包括 2 行新增5 行删除
  1. +2
    -2
      apps/video.js
  2. +0
    -3
      pico.html

+ 2
- 2
apps/video.js 查看文件

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

+ 0
- 3
pico.html 查看文件

@@ -39,9 +39,6 @@ header {
justify-items: start;
margin-right: auto;
}
video {
background-color: black;
}
main {
overflow: hidden;
display: grid;

Loading…
取消
儲存