Revert "perf?(client): remove needless scoped annotation for style"

This reverts commit ada04c1932.
This commit is contained in:
syuilo
2022-12-27 18:29:39 +09:00
parent ada04c1932
commit 4f15b6f7c2
263 changed files with 343 additions and 407 deletions

View File

@@ -56,7 +56,7 @@ export default defineComponent({
});
</script>
<style lang="scss">
<style lang="scss" scoped>
.kudkigyw {
display: inline-block;
min-width: 200px;

View File

@@ -35,7 +35,7 @@ export default defineComponent({
});
</script>
<style lang="scss">
<style lang="scss" scoped>
.ysrxegms {
display: inline-block;
vertical-align: bottom;

View File

@@ -42,7 +42,7 @@ export default defineComponent({
});
</script>
<style lang="scss">
<style lang="scss" scoped>
.llumlmnx {
display: inline-block;
min-width: 300px;

View File

@@ -19,7 +19,7 @@ const props = defineProps<{
const image = props.hpml.page.attachedFiles.find(x => x.id === props.block.fileId);
</script>
<style lang="scss">
<style lang="scss" scoped>
.lzyxtsnt {
> img {
max-width: 100%;

View File

@@ -28,9 +28,9 @@ export default defineComponent({
onMounted(() => {
os.api('notes/show', { noteId: props.block.note })
.then(result => {
note.value = result;
});
.then(result => {
note.value = result;
});
});
return {
@@ -40,7 +40,7 @@ export default defineComponent({
});
</script>
<style lang="scss">
<style lang="scss" scoped>
.voxdxuby {
margin: 1em 0;
}

View File

@@ -45,7 +45,7 @@ export default defineComponent({
});
</script>
<style lang="scss">
<style lang="scss" scoped>
.kudkigyw {
display: inline-block;
min-width: 300px;

View File

@@ -86,7 +86,7 @@ export default defineComponent({
});
</script>
<style lang="scss">
<style lang="scss" scoped>
.ngbfujlo {
position: relative;
padding: 32px;

View File

@@ -34,7 +34,7 @@ export default defineComponent({
});
</script>
<style lang="scss">
<style lang="scss" scoped>
.sdgxphyu {
margin: 1.5em 0;

View File

@@ -43,7 +43,7 @@ export default defineComponent({
});
</script>
<style lang="scss">
<style lang="scss" scoped>
.hkcxmtwj {
display: inline-block;
margin: 16px auto;

View File

@@ -45,7 +45,7 @@ export default defineComponent({
});
</script>
<style lang="scss">
<style lang="scss" scoped>
.kudkigyw {
display: inline-block;
min-width: 300px;

View File

@@ -6,10 +6,10 @@
</template>
<script lang="ts">
import { defineAsyncComponent, defineComponent, PropType } from 'vue';
import * as mfm from 'mfm-js';
import { TextBlock } from '@/scripts/hpml/block';
import { Hpml } from '@/scripts/hpml/evaluator';
import { defineAsyncComponent, defineComponent, PropType } from 'vue';
import * as mfm from 'mfm-js';
import { extractUrlFromMfm } from '@/scripts/extract-url-from-mfm';
export default defineComponent({
@@ -51,7 +51,7 @@ export default defineComponent({
});
</script>
<style lang="scss">
<style lang="scss" scoped>
.mrdgzndn {
&:not(:first-child) {
margin-top: 0.5em;

View File

@@ -70,7 +70,7 @@ export default defineComponent({
});
</script>
<style lang="scss">
<style lang="scss" scoped>
.iroscrza {
&.serif {
> div {