mirror of
https://github.com/romancm/gamebrary
synced 2025-02-17 03:28:25 +00:00
put platforms in dropdown for now
This commit is contained in:
parent
90a1d38271
commit
0538e29a7e
1 changed files with 25 additions and 1 deletions
|
@ -132,7 +132,24 @@
|
|||
/>
|
||||
</b-form-group> -->
|
||||
|
||||
<pre>{{ platforms }}</pre>
|
||||
<b-dropdown
|
||||
text="Select platforms"
|
||||
class="platforms-dropdown"
|
||||
>
|
||||
<b-dropdown-item
|
||||
v-for="platform in platforms"
|
||||
:key="platform.id"
|
||||
>
|
||||
{{ platform.name }}
|
||||
</b-dropdown-item>
|
||||
<!-- <pre>{{ platforms }}</pre> -->
|
||||
<!-- <b-dropdown-item>Second Action</b-dropdown-item> -->
|
||||
<!-- <b-dropdown-item>Third Action</b-dropdown-item> -->
|
||||
<!-- <b-dropdown-divider></b-dropdown-divider> -->
|
||||
<!-- <b-dropdown-item active>Active action</b-dropdown-item> -->
|
||||
<!-- <b-dropdown-item disabled>Disabled action</b-dropdown-item> -->
|
||||
</b-dropdown>
|
||||
|
||||
|
||||
<!-- <b-button
|
||||
v-for="platform in sortedPlatforms"
|
||||
|
@ -289,3 +306,10 @@ export default {
|
|||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss" rel="stylesheet/scss">
|
||||
.platforms-dropdown .dropdown-menu {
|
||||
max-height: 300px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Add table
Reference in a new issue