Skip to content

Commit

Permalink
fix: tokenisation & prose cleanup finish (#510)
Browse files Browse the repository at this point in the history
* ProseOl

* ProseStrong

* ProseTable

* ProseTd

* ProseUl
  • Loading branch information
bdrtsky authored Jun 24, 2021
1 parent a014c6d commit 41924b6
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 48 deletions.
11 changes: 2 additions & 9 deletions src/defaultTheme/components/atoms/prose/ProseOl.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,10 @@ ol[type='1'] {
}
ol {
margin-left: 0px;
margin-right: 0px;
padding: 0px;
margin-top: 1.25em;
margin-bottom: 1.25em;
list-style-type: none;
@apply mx-0 p-0 my-[1.25em] list-none;
ul,
ol {
margin-top: 0.5em;
margin-bottom: 0.5em;
@apply my-[0.5em];
}
}
</style>
14 changes: 2 additions & 12 deletions src/defaultTheme/components/atoms/prose/ProseStrong.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,9 @@

<style lang="postcss" scoped>
strong {
/* color: theme('colors.gray.900'); */
font-weight: theme('fontWeight.semibold');
@apply font-semibold;
}
a strong {
color: inherit;
}
.dark {
/* strong {
color: theme('colors.gray.100');
} */
a strong {
color: inherit;
}
@apply text-current;
}
</style>
7 changes: 1 addition & 6 deletions src/defaultTheme/components/atoms/prose/ProseTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@

<style lang="postcss" scoped>
table {
/* TODO */
@apply leading-5;
font-size: 0.875rem;
width: 100%;
table-layout: auto;
text-align: left;
@apply leading-5 text-sm w-full table-auto text-left;
}
</style>
13 changes: 1 addition & 12 deletions src/defaultTheme/components/atoms/prose/ProseTd.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,7 @@
</template>

<style lang="postcss" scoped>
/* TODO */
tbody td {
vertical-align: top;
padding-top: 0.5714286em;
padding-right: 0.5714286em;
padding-bottom: 0.5714286em;
padding-left: 0.5714286em;
&:first-child {
padding-left: 0;
}
&:last-child {
padding-right: 0;
}
@apply align-top first:pl-0 last:pr-0 p-[0.5em];
}
</style>
11 changes: 2 additions & 9 deletions src/defaultTheme/components/atoms/prose/ProseUl.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,10 @@

<style lang="postcss" scoped>
ul {
margin-left: 0px;
margin-right: 0px;
padding: 0px;
margin-top: 1.25em;
margin-bottom: 1.25em;
list-style-type: none;
@apply list-none mx-0 p-0 my-[1.25em];
ul,
ol {
margin-top: 0.5em;
margin-bottom: 0.5em;
@apply my-[0.5em];
}
}
</style>

1 comment on commit 41924b6

@vercel
Copy link

@vercel vercel bot commented on 41924b6 Jun 24, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.