From e8837133d245b1e77f2d575a6d539c8b8690f8ae Mon Sep 17 00:00:00 2001 From: bmelkani Date: Thu, 7 Sep 2017 15:50:43 +0200 Subject: [PATCH] fix(swagger-to-html): Fix style of code sections --- source/style/_swagger-processor/index.less | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/source/style/_swagger-processor/index.less b/source/style/_swagger-processor/index.less index 9bb564c..9e80094 100644 --- a/source/style/_swagger-processor/index.less +++ b/source/style/_swagger-processor/index.less @@ -236,4 +236,23 @@ background-color: #f3f6f6; } } + pre{ + color: initial; + padding: initial; + white-space: pre-wrap; + background: initial; + color: initlal; + } + code{ + background: #f3f3f3; + display: inline-block; + vertical-align: baseline; + color: #1c887e; + padding: 2px 5px; + border-radius: 5px; + border: 1px solid #e4e4e4; + background: #f5f7fa; + } } + +