From 860eb30c4879c487f047f126f4d8f01c54748fb1 Mon Sep 17 00:00:00 2001 From: Roman Hotsiy Date: Mon, 1 Feb 2016 14:54:58 +0200 Subject: [PATCH] Code sample ui fix --- lib/components/RequestSamples/request-samples.html | 2 +- lib/components/RequestSamples/request-samples.scss | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/components/RequestSamples/request-samples.html b/lib/components/RequestSamples/request-samples.html index c1688d1a..2f71bdd2 100644 --- a/lib/components/RequestSamples/request-samples.html +++ b/lib/components/RequestSamples/request-samples.html @@ -1,7 +1,7 @@
Request samples
- + diff --git a/lib/components/RequestSamples/request-samples.scss b/lib/components/RequestSamples/request-samples.scss index 62d60331..4270dc84 100644 --- a/lib/components/RequestSamples/request-samples.scss +++ b/lib/components/RequestSamples/request-samples.scss @@ -11,7 +11,7 @@ header { :host > tabs > ul li { font-size: 13px; margin: 2px 0; - padding: 2px 10px; + padding: 2px 5px; color: #8A9094; line-height: 1.25; color: $sample-panel-headers-color; @@ -28,4 +28,7 @@ header { pre { overflow-x: auto; + word-break: break-all; + word-wrap: break-word; + white-space: pre-wrap; }