Skip to content

Commit

Permalink
Add 'readable width' theme for making release notes more easily readable
Browse files Browse the repository at this point in the history
  • Loading branch information
kommunarr committed May 13, 2024
1 parent 8a8d321 commit 9928d93
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/renderer/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
overflow-y: scroll;
block-size: 40vh;
display: block;
padding-inline: 15px;
}

.fade-enter-active, .fade-leave-active {
Expand Down
1 change: 1 addition & 0 deletions src/renderer/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<ft-prompt
v-if="showReleaseNotes"
:label="changeLogTitle"
theme="readable-width"
@click="showReleaseNotes = !showReleaseNotes"
>
<span
Expand Down
7 changes: 7 additions & 0 deletions src/renderer/components/ft-prompt/ft-prompt.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,13 @@
padding-block: 10px;
}

.promptCard.readable-width {
max-inline-size: 40em;
margin-inline: auto;
inset-inline: 0;
padding-inline: 0;
}

.center {
text-align: center;
}
Expand Down

0 comments on commit 9928d93

Please sign in to comment.