Avoid using wildcard selector

This commit is contained in:
かっこかり 2023-09-05 08:15:21 +09:00 committed by GitHub
parent d57c9b8756
commit d71294b767
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,6 +11,7 @@ SPDX-License-Identifier: AGPL-3.0-only
:disableImageLink="true"
:controls="false"
:cover="true"
:class="$style.eyeCatchingImageRoot"
/>
</div>
<article>
@ -37,6 +38,15 @@ const props = defineProps<{
}>();
</script>
<style module>
.eyeCatchingImageRoot {
width: 100%;
height: 200px;
border-radius: var(--radius) var(--radius) 0 0;
overflow: hidden;
}
</style>
<style lang="scss" scoped>
.vhpxefrj {
display: block;
@ -50,13 +60,6 @@ const props = defineProps<{
& + article {
border-radius: 0 0 var(--radius) var(--radius);
}
> * {
width: 100%;
height: 200px;
border-radius: var(--radius) var(--radius) 0 0;
overflow: hidden;
}
}
> article {