Css tweaks. Add links
This commit is contained in:
		
							parent
							
								
									fdbb2ab76f
								
							
						
					
					
						commit
						7609497974
					
				
							
								
								
									
										10
									
								
								src/app.scss
								
								
								
								
							
							
						
						
									
										10
									
								
								src/app.scss
								
								
								
								
							| 
						 | 
				
			
			@ -402,11 +402,15 @@ aside.menu.main-menu .menu-expanse {
 | 
			
		|||
    var(--chatInputPaddingLeft);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.running-total-container {
 | 
			
		||||
  min-height:2em;
 | 
			
		||||
.content.running-total-container {
 | 
			
		||||
  min-height:1em;
 | 
			
		||||
  // padding-bottom:.6em;
 | 
			
		||||
  // /* padding-left: 1.9em; */
 | 
			
		||||
  // margin-bottom:- 1em
 | 
			
		||||
  margin-bottom: .5em;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.content.credit-footer {
 | 
			
		||||
  margin-bottom: 1em;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.side-actions {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -34,6 +34,9 @@
 | 
			
		|||
    faMicrophone,
 | 
			
		||||
    faLightbulb
 | 
			
		||||
  } from '@fortawesome/free-solid-svg-icons/index'
 | 
			
		||||
  import {
 | 
			
		||||
    faGithub
 | 
			
		||||
  } from '@fortawesome/free-brands-svg-icons/index'
 | 
			
		||||
  // import { encode } from 'gpt-tokenizer'
 | 
			
		||||
  import { v4 as uuidv4 } from 'uuid'
 | 
			
		||||
  import { countPromptTokens, getMaxModelPrompt, getPrice } from './Stats.svelte'
 | 
			
		||||
| 
						 | 
				
			
			@ -553,7 +556,7 @@
 | 
			
		|||
    </p>
 | 
			
		||||
  </form>
 | 
			
		||||
  <!-- a target to scroll to -->
 | 
			
		||||
<div class="running-total-container">
 | 
			
		||||
  <div class="content has-text-centered running-total-container">
 | 
			
		||||
    {#each Object.entries(chat.usage || {}) as [model, usage]}
 | 
			
		||||
    <p class="is-size-7 running-totals">
 | 
			
		||||
      <em>{model}</em> total <span class="has-text-weight-bold">{usage.total_tokens}</span>
 | 
			
		||||
| 
						 | 
				
			
			@ -561,7 +564,18 @@
 | 
			
		|||
    </p>
 | 
			
		||||
    {/each}
 | 
			
		||||
  </div>
 | 
			
		||||
  <div class="content has-text-centered credit-footer">
 | 
			
		||||
    <p>
 | 
			
		||||
      <strong>ChatGPT-web</strong>
 | 
			
		||||
      by
 | 
			
		||||
      <a target="_blank" href="https://niekvandermaas.nl/">Niek van der Maas</a>
 | 
			
		||||
      —
 | 
			
		||||
      <a target="_blank" href="https://github.com/Niek/chatgpt-web"><span class="icon"><Fa icon="{faGithub}"/></span></a>
 | 
			
		||||
    </p>
 | 
			
		||||
  </div>
 | 
			
		||||
</div>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
<ChatSettingsModal chatId={chatId} bind:show={showSettingsModal} />
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue