aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2023-04-21 14:01:41 +0200
committerJohn Molakvoæ <skjnldsv@protonmail.com>2023-04-21 14:01:41 +0200
commitab431999c316fc5fbb1344b87adad6fc47ef5860 (patch)
treee9be980f7f371115de8aacf6145aed0dd936ff64 /apps
parent497d19531054b53b71a5e05d2fd1b705388e49e1 (diff)
downloadnextcloud-server-ab431999c316fc5fbb1344b87adad6fc47ef5860.tar.gz
nextcloud-server-ab431999c316fc5fbb1344b87adad6fc47ef5860.zip
chore(npm): fix warning and build
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'apps')
-rw-r--r--apps/theming/src/components/ItemPreview.vue4
-rw-r--r--apps/workflowengine/src/components/Checks/FileMimeType.vue37
2 files changed, 21 insertions, 20 deletions
diff --git a/apps/theming/src/components/ItemPreview.vue b/apps/theming/src/components/ItemPreview.vue
index 9299543a08b..dd70a66ec96 100644
--- a/apps/theming/src/components/ItemPreview.vue
+++ b/apps/theming/src/components/ItemPreview.vue
@@ -95,6 +95,8 @@ export default {
}
</script>
<style lang="scss" scoped>
+@use 'sass:math';
+
.theming__preview {
// We make previews on 16/10 screens
--ratio: 16;
@@ -144,7 +146,7 @@ export default {
}
}
-@media (max-width: (1024px / 1.5)) {
+@media (max-width: math.div(1024px, 1.5)) {
.theming__preview {
flex-direction: column;
diff --git a/apps/workflowengine/src/components/Checks/FileMimeType.vue b/apps/workflowengine/src/components/Checks/FileMimeType.vue
index 8798a080b21..472edda613a 100644
--- a/apps/workflowengine/src/components/Checks/FileMimeType.vue
+++ b/apps/workflowengine/src/components/Checks/FileMimeType.vue
@@ -19,7 +19,6 @@
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-
-->
-
<template>
<div>
<NcMultiselect :value="currentValue"
@@ -144,24 +143,24 @@ export default {
}
</script>
<style scoped lang="scss">
- .multiselect, input[type='text'] {
- width: 100%;
- }
- .multiselect >>> .multiselect__content-wrapper li>span,
- .multiselect >>> .multiselect__single {
- display: flex;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
+.multiselect, input[type='text'] {
+ width: 100%;
+}
+.multiselect::v-deep .multiselect__content-wrapper li > span,
+.multiselect::v-deep .multiselect__single {
+ display: flex;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+}
- .option__icon {
- display: inline-block;
- min-width: 30px;
- background-position: left;
- }
+.option__icon {
+ display: inline-block;
+ min-width: 30px;
+ background-position: left;
+}
- .option__icon-img {
- margin-right: 14px;
- }
+.option__icon-img {
+ margin-right: 14px;
+}
</style>