mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-11-28 06:48:36 +09:00
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"
|
||||
: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 {
|
||||
|
Loading…
Reference in New Issue
Block a user