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

Commit

Permalink
feat(hyphens): Uses hyphens in longer text areas
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-heimbuch committed Jun 30, 2018
1 parent 88eaa7a commit e1f345f
Show file tree
Hide file tree
Showing 8 changed files with 247 additions and 267 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ jobs:
steps:
- attach_workspace:
at: ~/podlove-web-player
- run: yarn test
- run: yarn test:ci
- run: bash <(curl -s https://codecov.io/bash)
- store_test_results:
path: reports
Expand Down
2 changes: 1 addition & 1 deletion build/blocks/plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const css = () => new MiniCssExtractPlugin({

const minifyCss = () => new OptimizeCSSAssetsPlugin({})

const version = () => new WebpackAutoInject()
const version = () => new WebpackAutoInject({ SILENT: true })

const base = base =>
new webpack.DefinePlugin({
Expand Down
1 change: 1 addition & 0 deletions docs/test-transcripts.html
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@

<script src="{{ site.baseurl }}/vendor.js"></script>
<script src="{{ site.baseurl }}/window.js"></script>
<script src="{{ site.baseurl }}/style.js"></script>
</body>

</html>
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
"build": "npm run webpack:build",
"build:cdn": "npm run webpack:cdn",
"dev": "npm run dist:clean && npm run docs:dev && npm run webpack:dev",
"test": "npm run test:prepare && NODE_ENV=AVA nyc ava --tap | tap-xunit > reports/ava.xml && nyc report --reporter=lcov",
"test": "npm run test:prepare && NODE_ENV=AVA nyc ava && nyc report",
"test:ci": "npm run test:prepare && NODE_ENV=AVA nyc ava --tap | tap-xunit > reports/ava.xml && nyc report --reporter=lcov",
"test:dev": "NODE_ENV=AVA ava --watch --fail-fast",
"test:prepare": "rm -rf reports coverage && mkdir -p reports coverage",
"lint:commit": "conventional-changelog-lint",
Expand All @@ -59,7 +60,7 @@
"dist/"
],
"dependencies": {
"@podlove/html5-audio-driver": "1.2.2",
"@podlove/html5-audio-driver": "1.2.5",
"babel-polyfill": "6.26.0",
"binary-search": "1.3.3",
"color": "3.0.0",
Expand Down
1 change: 1 addition & 0 deletions src/components/header/Info.vue
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@
line-height: 1.3em;
font-size: 1.1em;
font-weight: 100;
hyphens: auto;
}
}
Expand Down
2 changes: 2 additions & 0 deletions src/components/tabs/info/Info.vue
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,12 @@
.summary {
white-space: pre-line;
hyphens: auto;
}
.subtitle {
font-weight: 500;
hyphens: auto;
}
.info-link {
Expand Down
1 change: 1 addition & 0 deletions src/components/tabs/transcripts/Entry.vue
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ export default {
margin: 0 0.1em 0 0;
line-height: 0;
border: 1px solid transparent;
hyphens: auto;
&.inactive {
opacity: 0.75;
Expand Down

0 comments on commit e1f345f

Please sign in to comment.