Skip to content

Commit

Permalink
feat: removing lists preflight
Browse files Browse the repository at this point in the history
  • Loading branch information
AssisrMatheus committed Feb 24, 2021
1 parent 03c3d76 commit 7be33c3
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions src/index.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,32 @@
@import './components/base';
@import './components';

@layer base {
/* First, clears the prose styling because we want to bring back preflight styling */
.prose {
ol,
ul {
list-style: none;
margin: 0;
padding: 0;
}
}

/* Brings back preflight styling */
ul,
ol {
@apply list-inside;
}

ul {
@apply list-disc;
}

ol {
@apply list-decimal;
}
}

html,
body {
@apply pui-font-family text-pui-paragraph-500;
Expand Down

0 comments on commit 7be33c3

Please sign in to comment.