Skip to content

Commit fa99bef

Browse files
committed
fix: docs table styling
1 parent 05c053a commit fa99bef

File tree

3 files changed

+32
-1
lines changed

3 files changed

+32
-1
lines changed

source/_assets/sass/_base.scss

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,3 +128,18 @@ pre {
128128
@apply .p-0;
129129
}
130130
}
131+
132+
table {
133+
@apply .w-full;
134+
135+
th, td {
136+
@apply .p-2;
137+
@apply .border;
138+
@apply .border-solid;
139+
@apply .border-grey-light;
140+
}
141+
142+
thead th {
143+
@apply .font-bold;
144+
}
145+
}

source/assets/build/css/main.css

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -778,6 +778,22 @@ pre code {
778778
padding: 0;
779779
}
780780

781+
table {
782+
width: 100%;
783+
}
784+
785+
table th,
786+
table td {
787+
padding: .5rem;
788+
border-width: 1px;
789+
border-style: solid;
790+
border-color: #e2e8ee;
791+
}
792+
793+
table thead th {
794+
font-weight: 700;
795+
}
796+
781797
.nav-menu {
782798
margin-top: -3rem;
783799
margin-left: -2rem;

source/assets/build/mix-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"/js/main.js": "/js/main.js?id=c538451819f81e5a3cdc",
3-
"/css/main.css": "/css/main.css?id=bfeb0e0f7abaed381134"
3+
"/css/main.css": "/css/main.css?id=9653c517060e25d7a3a5"
44
}

0 commit comments

Comments
 (0)