Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
style: minor style improvements to the demo
Browse files Browse the repository at this point in the history
  • Loading branch information
hanspagel committed Dec 12, 2023
1 parent e257db8 commit 63b6c6a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions demo/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ import CodeExample from './components/CodeExample.vue'
</script>

<template>
<h1>
@scalar/snippetz
</h1>

<div class="examples">
<CodeExample target="undici" :request="{ url: 'https://example.com' }"/>
<CodeExample target="undici" :request="{ url: 'https://example.com', method: 'POST' }"/>
Expand All @@ -17,6 +21,10 @@ import CodeExample from './components/CodeExample.vue'
</template>

<style scoped>
h1 {
font-size: 1.4rem;
margin: 2rem 0;
}
.examples {
display: flex;
flex-direction: column;
Expand Down

0 comments on commit 63b6c6a

Please sign in to comment.