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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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;
}