diff --git a/package-lock.json b/package-lock.json index f363baa8..d0faff4b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16102,6 +16102,11 @@ "vue-template-es2015-compiler": "^1.6.0" } }, + "vue-line-clamp": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/vue-line-clamp/-/vue-line-clamp-1.3.2.tgz", + "integrity": "sha512-SuZlRDBKsTlMOSLsJsceJPM7Sd2wcaKayyMEsf65b33chuK1zgTIU1RqlbAXSxO2R+FOQV5rYHLiAopdwVjroQ==" + }, "vue-loader": { "version": "15.7.0", "resolved": "https://registry.npmjs.org/vue-loader/-/vue-loader-15.7.0.tgz", diff --git a/package.json b/package.json index ce6b97f4..0eef9cfe 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,7 @@ "ua-parser-js": "^0.7.19", "vue-context": "^3.4.0", "vue-cookies": "^1.5.12", + "vue-line-clamp": "^1.3.2", "vue-router": "^3.0.4", "vue-scrolling-table": "^0.2.2", "vuetify": "^1.5.12", diff --git a/src/components/Class.vue b/src/components/Class.vue index cddd18de..d8aa5bf9 100644 --- a/src/components/Class.vue +++ b/src/components/Class.vue @@ -33,8 +33,8 @@ cancel - - {{ classInfo.id }} {{ classInfo.title }} + + {{ classInfo.id }} {{ useShortenedTitle ? shortenedTitle : classInfo.title }} @@ -74,6 +74,11 @@