Skip to content

Commit

Permalink
Temporary fix for blogpost text overflow into black margin
Browse files Browse the repository at this point in the history
  • Loading branch information
rvantonder authored May 30, 2019
2 parents 870d521 + 49a4b9d commit 04c9fbc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion blogposts/announcing-sourcegraph-3.4.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ For site admins, instead of saving configuration to the database.
<p style="text-align: center"><a href="https://vimeo.com/336923053" target="_blank">View on Vimeo</a></p>
</p>

If your code host's hostname is long, such as `githubenterprise.mycompany.internal`, then your Sourcegraph URLs will be long (e.g. `https://sourcegraph.mycompany.internal/githubenterprise.mycompany.internal/myteam/myproject`). To shorten these URLs, you can use the [`repositoryPathPattern`](https://www.google.com/search?ie=UTF-8&q=site%3Adocs.sourcegraph.com+%22repositoryPathPattern%22) external service configuration property.
If your code host's hostname is long, such as `githubenterprise.mycompany.internal`, then your Sourcegraph URLs will be long (e.g. `https://sourcegraph.mycompany.internal` `/githubenterprise.mycompany.internal` `/myteam/myproject`). To shorten these URLs, you can use the [`repositoryPathPattern`](https://www.google.com/search?ie=UTF-8&q=site%3Adocs.sourcegraph.com+%22repositoryPathPattern%22) external service configuration property.

Sourcegraph 3.4 fixes a problem where the browser extension didn't work if you used `repositoryPathPattern`. If you had been holding off on using the browser extension due to this problem, it will now work.

Expand Down
3 changes: 2 additions & 1 deletion website/src/css/pages/_blog-post.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// stylelint-disable declaration-property-unit-whitelist
.blog-post {
margin: auto;
width: 980px;
// FIXME(#125): temporary solution to text running over.
// width: 980px;
padding: 45px 0;

&__wrapper {
Expand Down

0 comments on commit 04c9fbc

Please sign in to comment.