diff --git a/conf/wide.json b/conf/wide.json index bc97fbb..ebcf26b 100644 --- a/conf/wide.json +++ b/conf/wide.json @@ -10,14 +10,17 @@ "MaxProcs": 4, "RuntimeMode": "dev", "Pwd": "{pwd}", - "Workspace": "{pwd}/data/workspace", + "Workspace": "", "Users": [ { "Name": "admin", "Password": "admin", "Workspace": "{pwd}/data/user_workspaces/admin", "LatestSessionContent": { - "FileTree": [], + "FileTree": [ + "E:\\Work\\go\\src\\github.com\\b3log\\wide\\data\\user_workspaces\\admin\\src\\mytest", + "E:\\Work\\go\\src\\github.com\\b3log\\wide\\data\\user_workspaces\\admin\\src\\mytest\\hello" + ], "Files": [], "CurrentFile": "" } diff --git a/static/css/start.css b/static/css/start.css index a9fe874..53db960 100644 --- a/static/css/start.css +++ b/static/css/start.css @@ -2,6 +2,13 @@ font-size: 15px; padding: 30px 70px; line-height: 28px; + white-space: normal; + word-wrap: break-word; +} + +#startPage .workspace { + line-height: 16px; + margin-bottom: 6px; } #startPage a { diff --git a/view/start.html b/view/start.html index 6b1742c..bf3cd67 100644 --- a/view/start.html +++ b/view/start.html @@ -7,7 +7,7 @@
  • {{.i18n.colon}} - {{.workspace}} +
    {{.workspace}}