Skip to content
This repository has been archived by the owner on May 24, 2021. It is now read-only.

Commit

Permalink
fix(Current Chapter): Calculate minima; width of current chapter
Browse files Browse the repository at this point in the history
- Fixes #337, #339
  • Loading branch information
alexander-heimbuch committed Feb 6, 2017
1 parent c05ecde commit e0220e5
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/components/player/Timer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ export default {
@import 'variables';
@import 'font';
$timer-width: 80px;
// Timer
.podlove-player--timer {
display: block;
Expand All @@ -67,22 +69,21 @@ export default {
.podlove-player--timer--current {
display: block;
width: $timer-width;
text-align: left;
width: 20%;
@include font-monospace();
}
.podlove-player--timer--chapter {
text-align: center;
width: 80%;
width: calc(100% - #{$timer-width * 2});
margin: 0 $margin / 2;
}
.podlove-player--timer--time {
display: block;
width: $timer-width;
text-align: right;
width: 20%;
@include font-monospace();
}
</style>

0 comments on commit e0220e5

Please sign in to comment.