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
1 changed files with 10 additions and 7 deletions

View File

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