1111 <div id =" properties" :style =" { visibility: visibleState }" >
1212 <ElementProperties ></ElementProperties >
1313 </div >
14- <div id =" output" :style =" { visibility : visibleState, height: visibleState === 'hidden' ? 0 : undefined }" >
14+ <div id =" output" :style =" { display : visibleState === 'hidden' ? 'none' : 'block' }" >
1515 <PS1Variable ></PS1Variable >
1616 <br />
1717 <PromptPreview ></PromptPreview >
1818 </div >
1919 </div >
20- <footer >If you like this project, please consider leaving a ⭐ ; on
21- <a
22- href =" https://github.com/Scriptim/bash-prompt-generator"
23- target =" _blank"
24- rel =" noopener noreferrer"
25- >
26- GitHub
27- </a >.</footer >
2820 </main >
21+ <footer >
22+ If you like this project, please consider leaving a <StarIcon class =" icon" ></StarIcon > on
23+ <a
24+ href =" https://github.com/Scriptim/bash-prompt-generator"
25+ target =" _blank"
26+ rel =" noopener noreferrer"
27+ >GitHub</a >.
28+ </footer >
2929</template >
3030
3131<script lang="ts">
3232import { defineComponent } from ' vue' ;
33+ import { StarIcon } from ' @heroicons/vue/24/solid' ;
3334import prompt from ' @/lib/prompt' ;
3435import SiteHeader from ' ./components/SiteHeader.vue' ;
3536import ElementSelection from ' ./components/elementselection/ElementSelection.vue' ;
@@ -42,6 +43,7 @@ import darkMode from './lib/darkMode';
4243export default defineComponent ({
4344 name: ' App' ,
4445 components: {
46+ StarIcon ,
4547 SiteHeader ,
4648 ElementSelection ,
4749 PromptElements ,
@@ -73,6 +75,10 @@ export default defineComponent({
7375@use " sass:color"
7476@import " @/assets/sass/_variables.sass"
7577
78+ html , body
79+ height : 100%
80+ margin : 0
81+
7682body , main
7783 margin : 0
7884 box-sizing : border-box
8288 -webkit-font-smoothing : antialiased
8389 -moz-osx-font-smoothing : grayscale
8490
85- main
91+ #app
92+ display : flex
93+ flex-direction : column
94+ min-height : 100vh
8695 color : $color-foreground
8796 background-color : $color-background
88- min-height : 100vh
97+
98+ main
99+ flex-grow : 1
89100
90101 & .dark
91102 color : $color-dim
@@ -190,8 +201,16 @@ input[type="number"]
190201 padding : 0.8em
191202
192203footer
193- margin : 0
204+ padding : 2em 0.2em
205+ color : $color-background
206+ background-color : #212121
194207 font-style : italic
195208 text-align : center
196- padding : 4em 0.2em 2em
209+
210+ a
211+ color : $color-accent
212+
213+ .icon
214+ height : 1.2em
215+ vertical-align : text-bottom
197216 </style >
0 commit comments