diff options
author | Johannes Zellner <johannes@cloudron.io> | 2019-02-25 15:32:33 +0100 |
---|---|---|
committer | Johannes Zellner <johannes@cloudron.io> | 2019-02-25 15:32:33 +0100 |
commit | b59e67174a605a02045bc1dc85a821add2aea616 (patch) | |
tree | b403d0966022de7a107706742f9dc33aeeeeed38 | |
parent | ca5a757fab6de89ff0ee49983797e136c2b2a747 (diff) | |
download | Surfer-b59e67174a605a02045bc1dc85a821add2aea616.tar.gz Surfer-b59e67174a605a02045bc1dc85a821add2aea616.tar.zst Surfer-b59e67174a605a02045bc1dc85a821add2aea616.zip |
Fix public folder listing switch label position
-rw-r--r-- | frontend/css/style.css | 4 | ||||
-rw-r--r-- | frontend/index.html | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/frontend/css/style.css b/frontend/css/style.css index 3233715..901de34 100644 --- a/frontend/css/style.css +++ b/frontend/css/style.css | |||
@@ -78,6 +78,10 @@ a:hover, a:focus { | |||
78 | padding: 7px; | 78 | padding: 7px; |
79 | } | 79 | } |
80 | 80 | ||
81 | .el-switch__label { | ||
82 | height: auto; | ||
83 | } | ||
84 | |||
81 | /* welcome and 404 page */ | 85 | /* welcome and 404 page */ |
82 | .container-center { | 86 | .container-center { |
83 | display: flex; | 87 | display: flex; |
diff --git a/frontend/index.html b/frontend/index.html index 76b10e1..b3a6bba 100644 --- a/frontend/index.html +++ b/frontend/index.html | |||
@@ -61,8 +61,7 @@ | |||
61 | <el-dropdown-menu slot="dropdown"> | 61 | <el-dropdown-menu slot="dropdown"> |
62 | <el-dropdown-item disabled>Public Folder Listing</el-dropdown-item> | 62 | <el-dropdown-item disabled>Public Folder Listing</el-dropdown-item> |
63 | <el-dropdown-item command="folderListing"> | 63 | <el-dropdown-item command="folderListing"> |
64 | <el-switch v-model="folderListingEnabled" active-text="Enabled" inactive-text="Disabled"> | 64 | <el-switch v-model="folderListingEnabled" active-text="Enabled" inactive-text="Disabled"></el-switch> |
65 | </el-switch> | ||
66 | </el-dropdown-item> | 65 | </el-dropdown-item> |
67 | <el-dropdown-item disabled divided>WebDAV Endpoint</el-dropdown-item> | 66 | <el-dropdown-item disabled divided>WebDAV Endpoint</el-dropdown-item> |
68 | <el-dropdown-item><a href="/_webdav/" target="_blank">{{ origin }}/_webdav/</a></el-dropdown-item> | 67 | <el-dropdown-item><a href="/_webdav/" target="_blank">{{ origin }}/_webdav/</a></el-dropdown-item> |