Skip to content

Commit

Permalink
Prettified Code!
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-panhead authored and actions-user committed Oct 26, 2023
1 parent aa2ad4b commit 722e956
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion THEME.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ The notebook text and bubble background colors can be accessed with the `noteboo

```html
<div class="bg-notebookBg">
<p class="text-notebookText">Body</p>
<p class="text-notebookText">Body</p>
</div>
```

Expand Down
2 changes: 1 addition & 1 deletion src/components/lab-notebook/Bubble.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<script setup lang="ts">
import { ref, onMounted } from 'vue'
defineProps<{ alwaysDropdown: boolean, dark?: boolean, nested?: boolean }>()
defineProps<{ alwaysDropdown: boolean; dark?: boolean; nested?: boolean }>()
defineEmits<{ (e: 'toggleActivated', state: boolean): void }>()
const title = ref()
Expand Down
17 changes: 8 additions & 9 deletions src/components/lab-notebook/Section.vue
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@

<script setup lang="ts">
const sectionTitleStyle = 'text-subtitle-sm lg:text-subtitle text-white mb-4'
const sectionTitleStyle = 'text-subtitle-sm lg:text-subtitle text-white mb-4'
</script>

<template>
<section>
<h3 :class="sectionTitleStyle">
<slot name="sub-title"></slot>
</h3>
<slot name="content"></slot>
</section>
</template>
<section>
<h3 :class="sectionTitleStyle">
<slot name="sub-title"></slot>
</h3>
<slot name="content"></slot>
</section>
</template>
2 changes: 1 addition & 1 deletion src/components/lab-notebook/SingleColumn.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<script setup lang="ts">
import Bubble from '@/components/lab-notebook/Bubble.vue'
withDefaults(defineProps<{ alwaysDropdown?: boolean, dark?: boolean, nested?: boolean }>(), {
withDefaults(defineProps<{ alwaysDropdown?: boolean; dark?: boolean; nested?: boolean }>(), {
alwaysDropdown: false
})
</script>
Expand Down
3 changes: 2 additions & 1 deletion src/router/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ const GroupBView = () => import('@/views/lab-validation/GroupBView.vue')
const GroupCView = () => import('@/views/lab-validation/GroupCView.vue')
const OctadedronFormation = () => import('@/views/lab-validation/OctahedronFormation.vue')
const AADocking = () => import('@/views/future-directions/AADocking.vue')
const OctahedronLiposomeFormation = () => import('@/views/future-directions/OctahedronLiposomeFormation.vue')
const OctahedronLiposomeFormation = () =>
import('@/views/future-directions/OctahedronLiposomeFormation.vue')

const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
Expand Down

0 comments on commit 722e956

Please sign in to comment.