]> git.immae.eu Git - perso/Immae/Projets/Nodejs/Surfer.git/commitdiff
Fix public folder listing switch label position
authorJohannes Zellner <johannes@cloudron.io>
Mon, 25 Feb 2019 14:32:33 +0000 (15:32 +0100)
committerJohannes Zellner <johannes@cloudron.io>
Mon, 25 Feb 2019 14:32:33 +0000 (15:32 +0100)
frontend/css/style.css
frontend/index.html

index 3233715ff95bd15b688c5f176e9c47ec751d4a5c..901de34aa2ba08af4a4c68f1f71e2a82ae2f2a0a 100644 (file)
@@ -78,6 +78,10 @@ a:hover, a:focus {
     padding: 7px;
 }
 
+.el-switch__label {
+    height: auto;
+}
+
 /* welcome and 404 page */
 .container-center {
     display: flex;
index 76b10e1ffd92c2a395a13631acba00edf1325601..b3a6bbaaf70cdc1eea6b0d1c603b2f887484157d 100644 (file)
@@ -61,8 +61,7 @@
           <el-dropdown-menu slot="dropdown">
             <el-dropdown-item disabled>Public Folder Listing</el-dropdown-item>
             <el-dropdown-item command="folderListing">
-              <el-switch v-model="folderListingEnabled" active-text="Enabled" inactive-text="Disabled">
-              </el-switch>
+              <el-switch v-model="folderListingEnabled" active-text="Enabled" inactive-text="Disabled"></el-switch>
             </el-dropdown-item>
             <el-dropdown-item disabled divided>WebDAV Endpoint</el-dropdown-item>
             <el-dropdown-item><a href="/_webdav/" target="_blank">{{ origin }}/_webdav/</a></el-dropdown-item>