Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(frontend): Add missing styles #14031

Merged
merged 1 commit into from
Jun 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions packages/frontend/src/pages/announcement.vue
Original file line number Diff line number Diff line change
@@ -109,6 +109,15 @@ definePageMetadata(() => ({
</script>

<style lang="scss" module>
.fadeEnterActive,
.fadeLeaveActive {
transition: opacity 0.125s ease;
}
.fadeEnterFrom,
.fadeLeaveTo {
opacity: 0;
}

.announcement {
padding: 16px;
}

Unchanged files with check annotations Beta

};
export function parse(acct: string): Acct {
if (acct.startsWith('@')) acct = acct.substring(1);

Check warning on line 7 in packages/misskey-js/src/acct.ts

GitHub Actions / lint (misskey-js)

Assignment to function parameter 'acct'
const split = acct.split('@', 2);
return { username: split[0], host: split[1] || null };
}
code: string;
message: string;
kind: 'client' | 'server';
info: Record<string, any>;

Check warning on line 17 in packages/misskey-js/src/api.ts

GitHub Actions / lint (misskey-js)

Unexpected any. Specify a different type
};
export function isAPIError(reason: Record<PropertyKey, unknown>): reason is APIError {
headers: { [key in string]: string }
}) => Promise<{
status: number;
json(): Promise<any>;

Check warning on line 32 in packages/misskey-js/src/api.ts

GitHub Actions / lint (misskey-js)

Unexpected any. Specify a different type
}>;
export class APIClient {
type IsCaseMatched<E extends keyof Endpoints, P extends Endpoints[E]['req'], C extends number> =
Endpoints[E]['res'] extends SwitchCase
? IsNeverType<StrictExtract<Endpoints[E]['res']['$switch']['$cases'][C], [P, any]>> extends false ? true : false

Check warning on line 30 in packages/misskey-js/src/api.types.ts

GitHub Actions / lint (misskey-js)

Unexpected any. Specify a different type
: false
type GetCaseResult<E extends keyof Endpoints, P extends Endpoints[E]['req'], C extends number> =
Endpoints[E]['res'] extends SwitchCase
? StrictExtract<Endpoints[E]['res']['$switch']['$cases'][C], [P, any]>[1]

Check warning on line 35 in packages/misskey-js/src/api.types.ts

GitHub Actions / lint (misskey-js)

Unexpected any. Specify a different type
: never
export type SwitchCaseResponseType<E extends keyof Endpoints, P extends Endpoints[E]['req']> = Endpoints[E]['res'] extends SwitchCase
export type ModerationLogPayloads = {
updateServerSettings: {
before: any | null;

Check warning on line 140 in packages/misskey-js/src/consts.ts

GitHub Actions / lint (misskey-js)

Unexpected any. Specify a different type
after: any | null;

Check warning on line 141 in packages/misskey-js/src/consts.ts

GitHub Actions / lint (misskey-js)

Unexpected any. Specify a different type
};
suspend: {
userId: string;
};
addCustomEmoji: {
emojiId: string;
emoji: any;

Check warning on line 162 in packages/misskey-js/src/consts.ts

GitHub Actions / lint (misskey-js)

Unexpected any. Specify a different type
};
updateCustomEmoji: {
emojiId: string;
before: any;

Check warning on line 166 in packages/misskey-js/src/consts.ts

GitHub Actions / lint (misskey-js)

Unexpected any. Specify a different type
after: any;

Check warning on line 167 in packages/misskey-js/src/consts.ts

GitHub Actions / lint (misskey-js)

Unexpected any. Specify a different type
};
deleteCustomEmoji: {
emojiId: string;