From 345303b5e436ffe4169af9923b66110d62d2d85c Mon Sep 17 00:00:00 2001 From: dark-flames Date: Sun, 21 Jan 2018 12:50:40 +0800 Subject: [PATCH] Fix overflow --- package.json | 2 +- src/components/PreviewArea.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 50fbb9b..e1fb257 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "markdown-palettes", "description": "Markdown*Palettes: Markdown editor for the modern web.", - "version": "0.0.4", + "version": "0.0.5", "author": "Luogu Dev Team", "license": "MIT", "module": "src/module.js", diff --git a/src/components/PreviewArea.vue b/src/components/PreviewArea.vue index c1ac349..86c024e 100644 --- a/src/components/PreviewArea.vue +++ b/src/components/PreviewArea.vue @@ -9,12 +9,12 @@ padding: 10px; padding-left: 20px; padding-right: 20px; - overflow: scroll; + overflow: auto; word-wrap:break-word; } #mp-preview-area { - overflow: scroll; + overflow: auto; background-color: white; }