fix: changelog window overflows the screen if there are too many changes

This commit is contained in:
naskya 2024-01-07 10:22:39 +09:00
parent 68285f7165
commit 6699f6a34f
Signed by: naskya
GPG key ID: 712D413B3A9FED5C
2 changed files with 8 additions and 1 deletions

View file

@ -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;

View file

@ -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;