forked from naskya/firefish
fix: changelog window overflows the screen if there are too many changes
This commit is contained in:
parent
68285f7165
commit
6699f6a34f
2 changed files with 8 additions and 1 deletions
|
@ -5,6 +5,7 @@
|
||||||
:front="true"
|
:front="true"
|
||||||
:buttons-right="buttonsRight"
|
:buttons-right="buttonsRight"
|
||||||
@closed="emit('closed')"
|
@closed="emit('closed')"
|
||||||
|
class="oxzftdfc"
|
||||||
>
|
>
|
||||||
<template #header>
|
<template #header>
|
||||||
{{ i18n.ts.releaseNotes }}
|
{{ i18n.ts.releaseNotes }}
|
||||||
|
@ -64,6 +65,11 @@ const buttonsRight = computed(() => [
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
.oxzftdfc {
|
||||||
|
max-height: 70%;
|
||||||
|
overflow-y: scroll;
|
||||||
|
}
|
||||||
|
|
||||||
.asnohbod {
|
.asnohbod {
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
font-size: 1.2em;
|
font-size: 1.2em;
|
||||||
|
|
|
@ -549,7 +549,8 @@ defineExpose({
|
||||||
}
|
}
|
||||||
|
|
||||||
display: flex;
|
display: flex;
|
||||||
position: relative;
|
position: sticky;
|
||||||
|
top: 0;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
|
|
Loading…
Reference in a new issue