mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
* extract inventoryDrawer from market * show scrollbar only if needed * extract featuredItemsHeader / pinUtils * extract pageLayout * extract layoutSection / filterDropdown - fix sortByNumber * rollback sortByNumber order-fix * move equipment lists out of the layout-section (for now) * refactor sellModal * extract checkbox * extract equipment section * extract category row * revert scroll - remove sellModal item template * fix(lint): commas and semis * Created category item component (#10613) * extract filter sidebar * fix gemCount - fix raising the item count if the item wasn't previously owned * fixes #10659 * remove unneeded method
34 lines
498 B
Vue
34 lines
498 B
Vue
<template lang="pug">
|
|
div
|
|
.clearfix
|
|
h2.float-left.mb-3.filters-title {{ title }}
|
|
|
|
.filters.float-right
|
|
slot(name="filters")
|
|
|
|
br
|
|
|
|
slot(name="content")
|
|
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
props: {
|
|
title: String,
|
|
},
|
|
};
|
|
</script>
|
|
|
|
<style scoped lang="scss">
|
|
@media only screen and (max-width: 768px) {
|
|
.filters, .filters-title {
|
|
float: none;
|
|
button {
|
|
margin-right: 4em;
|
|
margin-bottom: 1em;
|
|
}
|
|
}
|
|
}
|
|
</style>
|