Skip to content

Commit

Permalink
Improve responsiveness of generated code
Browse files Browse the repository at this point in the history
  • Loading branch information
electrikmilk committed May 27, 2024
1 parent 3830955 commit 26d27dd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@
</f7-subnavbar>
</f7-navbar>

<f7-toolbar position="bottom" style="font-size: .8rem"
:style="!color.identifier ? 'height: 9rem' : 'height: 11rem'">
<f7-toolbar position="bottom"
:style="!color.identifier ? 'height: 8rem' : 'height: 9rem'">
<div v-for="(compiler, name) in compilers"
class="width-100"
style="display: flex;align-items: center;justify-content: center;gap: 1rem">
Expand All @@ -77,7 +77,7 @@
target="_blank">
{{ compiler.icon }} {{ name }}
</f7-link>
<code class="width-100 display-block" v-html="name === 'Cherri' ? cherriCode : jellyCode"/>
<code v-html="name === 'Cherri' ? cherriCode : jellyCode"/>
<f7-button icon-f7="doc_on_clipboard_fill" icon-size="1.3rem"
@click="copyToClipboard(
stripTags(
Expand Down
3 changes: 3 additions & 0 deletions src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ code {
border-radius: 0.5rem;
border: 1px solid #333333;
overflow: scroll;
display: block;
width: 100%;
font-size: .7rem;
}

code .keyword {
Expand Down

0 comments on commit 26d27dd

Please sign in to comment.