mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
- Emotions buttons were not displaying images correctly - Follow vue guidelines for multiword naming convention - Favor tokens over magic px numbers
28 lines
582 B
Vue
28 lines
582 B
Vue
<template>
|
|
<ds-heading soft size="h5" class="search-heading">
|
|
{{ $t(`search.heading.${resourceType}`) }}
|
|
</ds-heading>
|
|
</template>
|
|
<script>
|
|
export default {
|
|
name: 'SearchHeading',
|
|
props: {
|
|
resourceType: { type: String, required: true },
|
|
},
|
|
}
|
|
</script>
|
|
<style lang="scss">
|
|
.search-heading.ds-heading {
|
|
margin: -$space-x-small;
|
|
padding: $space-x-small;
|
|
background-color: $color-neutral-100;
|
|
font-weight: $font-weight-bold;
|
|
cursor: default;
|
|
}
|
|
|
|
// override styleguide styles
|
|
.search-heading.ds-heading:first-child {
|
|
margin-top: -$space-x-small;
|
|
}
|
|
</style>
|