Skip to content

Commit

Permalink
fix: duplicated meta css
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemai2awesome committed Jun 4, 2018
1 parent 8e6e5c3 commit 8f1a3d0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ $bolt-video-js-button-shadow-level: 'level-30';

.vjs-load-progress,
.vjs-load-progress div {
background: rgba($bolt-video-js-button-background-color, 0.35);
background: rgba($bolt-video-js-button-background-color, 0.25);
}

.vjs-playlist-sidebar .vjs-playlist-show-hide button:hover,
Expand Down
4 changes: 1 addition & 3 deletions packages/components/bolt-video/src/video.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
@import '@bolt/core';
@import '@bolt/components-button/src/button.settings';
@import '@bolt/components-button/src/button.mixins';

@import 'videojs-enhancements';
@import 'video-meta';

// Same as max-width of wrapper container
$bolt-video-wrapper--max-width: bolt-breakpoint(xxlarge);
Expand Down
3 changes: 0 additions & 3 deletions packages/components/bolt-video/src/video.standalone.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ import dasherize from 'dasherize';

let index = 0;

import metaStyles from './_video-meta.scss';

@define
class BoltVideoMeta extends withPreact(withComponent()) {
static is = `${bolt.namespace}-video-meta`;
Expand All @@ -41,7 +39,6 @@ class BoltVideoMeta extends withPreact(withComponent()) {
const reveal = Boolean(this.title || this.duration);
return (
<div className={`c-${bolt.namespace}-video-meta`}>
<style>{metaStyles[0][1]}</style>
{reveal ? (
<div className={`c-${bolt.namespace}-video-meta__wrapper`}>
{this.title ? (
Expand Down

0 comments on commit 8f1a3d0

Please sign in to comment.