fix: button style in file description

This commit is contained in:
Sean Yesmunt 2019-03-01 08:13:37 +09:00
parent 1367eef934
commit 27eb1a8dbe
3 changed files with 11 additions and 9 deletions
src/renderer
component
fileViewer/internal
viewers
scss/component

View file

@ -7,8 +7,6 @@ import path from 'path';
import player from 'render-media'; import player from 'render-media';
import FileRender from 'component/fileRender'; import FileRender from 'component/fileRender';
import LoadingScreen from 'component/common/loading-screen'; import LoadingScreen from 'component/common/loading-screen';
// Loading this here so we have uniform video style even if we use two different players
import 'video.js/dist/video-js.css';
type Props = { type Props = {
contentType: string, contentType: string,

View file

@ -2,6 +2,7 @@
import React from 'react'; import React from 'react';
import { stopContextMenu } from 'util/context-menu'; import { stopContextMenu } from 'util/context-menu';
import videojs from 'video.js'; import videojs from 'video.js';
import 'video.js/dist/video-js.css';
type Props = { type Props = {
source: { source: {

View file

@ -92,7 +92,9 @@
} }
} }
.button--link:not(:disabled) { .button--link {
word-break: break-all;
&:not(:disabled) {
html[data-mode='dark'] & { html[data-mode='dark'] & {
&:not(:hover) { &:not(:hover) {
color: $lbry-teal-4; color: $lbry-teal-4;
@ -102,6 +104,7 @@
color: $lbry-teal-3; color: $lbry-teal-3;
} }
} }
}
} }
.button--load-screen { .button--load-screen {