From 99fa54a494057e9b8c2b0b7bc98809e4220e01cd Mon Sep 17 00:00:00 2001 From: Rijnard van Tonder Date: Thu, 30 May 2019 19:21:56 -0400 Subject: [PATCH 1/2] temporary fix for blogpost text overflow into black margin --- blogposts/announcing-sourcegraph-3.4.md | 2 +- website/src/css/pages/_blog-post.scss | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/blogposts/announcing-sourcegraph-3.4.md b/blogposts/announcing-sourcegraph-3.4.md index 421b1eacc75..7d9233f3f44 100644 --- a/blogposts/announcing-sourcegraph-3.4.md +++ b/blogposts/announcing-sourcegraph-3.4.md @@ -46,7 +46,7 @@ For site admins, instead of saving configuration to the database.

View on Vimeo

-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. diff --git a/website/src/css/pages/_blog-post.scss b/website/src/css/pages/_blog-post.scss index 473705b7e94..b8145f488f2 100644 --- a/website/src/css/pages/_blog-post.scss +++ b/website/src/css/pages/_blog-post.scss @@ -1,7 +1,8 @@ // stylelint-disable declaration-property-unit-whitelist .blog-post { margin: auto; - width: 980px; + // FIXME: temporary solution to text running over. + // width: 980px; padding: 45px 0; &__wrapper { From 49a4b9d3781ee3c33ded36eda2589df95c7e317f Mon Sep 17 00:00:00 2001 From: Rijnard van Tonder Date: Thu, 30 May 2019 19:28:55 -0400 Subject: [PATCH 2/2] reference issue in FIXME --- website/src/css/pages/_blog-post.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/src/css/pages/_blog-post.scss b/website/src/css/pages/_blog-post.scss index b8145f488f2..ee364f7278c 100644 --- a/website/src/css/pages/_blog-post.scss +++ b/website/src/css/pages/_blog-post.scss @@ -1,7 +1,7 @@ // stylelint-disable declaration-property-unit-whitelist .blog-post { margin: auto; - // FIXME: temporary solution to text running over. + // FIXME(#125): temporary solution to text running over. // width: 980px; padding: 45px 0;