client: refine ui
This commit is contained in:
parent
335e4bd213
commit
e8005c8d3a
48 changed files with 1744 additions and 1149 deletions
|
|
@ -2,7 +2,7 @@
|
|||
<div ref="items" v-hotkey="keymap"
|
||||
class="rrevdjwt"
|
||||
:class="{ center: align === 'center' }"
|
||||
:style="{ width: width ? width + 'px' : null }"
|
||||
:style="{ width: width ? width + 'px' : null, maxHeight: maxHeight ? maxHeight + 'px' : null }"
|
||||
@contextmenu.self="e => e.preventDefault()"
|
||||
>
|
||||
<template v-for="(item, i) in items2">
|
||||
|
|
@ -64,6 +64,10 @@ export default defineComponent({
|
|||
type: Number,
|
||||
required: false
|
||||
},
|
||||
maxHeight: {
|
||||
type: Number,
|
||||
required: false
|
||||
},
|
||||
},
|
||||
emits: ['close'],
|
||||
data() {
|
||||
|
|
@ -146,8 +150,8 @@ export default defineComponent({
|
|||
<style lang="scss" scoped>
|
||||
.rrevdjwt {
|
||||
padding: 8px 0;
|
||||
box-sizing: border-box;
|
||||
min-width: 200px;
|
||||
max-height: 90vh;
|
||||
overflow: auto;
|
||||
|
||||
&.center {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue