Avoid using wildcard selector
This commit is contained in:
parent
d57c9b8756
commit
d71294b767
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue