cleanup: trim trailing whitespace (#11136)

* cleanup: trim trailing whitespace

* update(`.editorconfig`)

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
This commit is contained in:
okayurisotto
2023-07-08 07:08:16 +09:00
committed by GitHub
parent 4c879b3a33
commit d84796588c
161 changed files with 615 additions and 609 deletions

View File

@@ -93,9 +93,9 @@ function onDragover(ev: DragEvent) {
switch (ev.dataTransfer.effectAllowed) {
case 'all':
case 'uninitialized':
case 'copy':
case 'copyLink':
case 'copyMove':
case 'copy':
case 'copyLink':
case 'copyMove':
ev.dataTransfer.dropEffect = 'copy';
break;
case 'linkMove':

View File

@@ -61,9 +61,9 @@ function onDragover(ev: DragEvent) {
switch (ev.dataTransfer.effectAllowed) {
case 'all':
case 'uninitialized':
case 'copy':
case 'copyLink':
case 'copyMove':
case 'copy':
case 'copyLink':
case 'copyMove':
ev.dataTransfer.dropEffect = 'copy';
break;
case 'linkMove':

View File

@@ -202,9 +202,9 @@ function onDragover(ev: DragEvent): any {
switch (ev.dataTransfer.effectAllowed) {
case 'all':
case 'uninitialized':
case 'copy':
case 'copyLink':
case 'copyMove':
case 'copy':
case 'copyLink':
case 'copyMove':
ev.dataTransfer.dropEffect = 'copy';
break;
case 'linkMove':

View File

@@ -89,7 +89,7 @@ const props = defineProps<{
> .file {
position: relative;
aspect-ratio: 1;
> .thumbnail {
width: 100%;
height: 100%;

View File

@@ -87,7 +87,7 @@ const props = defineProps<{
@media (max-width: 500px) {
font-size: 10px;
> article {
padding: 8px;

View File

@@ -17,8 +17,8 @@
controls
@contextmenu.stop
>
<source
:src="video.url"
<source
:src="video.url"
:type="video.type"
>
</video>

View File

@@ -293,7 +293,7 @@ function renote(viaKeyboard = false) {
const y = rect.top + (el.offsetHeight / 2);
os.popup(MkRippleEffect, { x, y }, {}, 'end');
}
os.api('notes/create', {
renoteId: appearNote.id,
}).then(() => {

View File

@@ -46,7 +46,7 @@ defineProps<{
margin: 0 0 8px 0;
font-size: 0.9em;
}
> .items {
> .item {
display: flex;

View File

@@ -195,7 +195,7 @@ onMounted(() => {
.mfm {
display: -webkit-box;
-webkit-line-clamp: 5;
-webkit-box-orient: vertical;
-webkit-box-orient: vertical;
overflow: hidden;
}

View File

@@ -26,7 +26,7 @@ export const Default = {
};
},
args: {
},
parameters: {
layout: 'centered',

View File

@@ -23,7 +23,7 @@ export const Default = {
};
},
args: {
},
parameters: {
layout: 'centered',

View File

@@ -23,7 +23,7 @@ export const Default = {
};
},
args: {
},
parameters: {
layout: 'centered',

View File

@@ -90,7 +90,7 @@ async function follow() {
.mfm {
display: -webkit-box;
-webkit-line-clamp: 5;
-webkit-box-orient: vertical;
-webkit-box-orient: vertical;
overflow: hidden;
}

View File

@@ -26,7 +26,7 @@ export const Default = {
};
},
args: {
},
parameters: {
layout: 'centered',

View File

@@ -199,7 +199,7 @@ export default function(props: {
}
const x = Math.min(parseFloat(token.props.args.x ?? '1'), 5);
const y = Math.min(parseFloat(token.props.args.y ?? '1'), 5);
style = `transform: scale(${x}, ${y});`;
style = `transform: scale(${x}, ${y});`;
scale = scale * Math.max(x, y);
break;
}