feat(aio): comment cleanup, API table styles

- API table styling
- Cleanup on resource page comments
This commit is contained in:
Stefanie Fluin 2017-05-01 10:01:02 -07:00 committed by Matias Niemelä
parent e263e19a2a
commit 04dc24820d
4 changed files with 16 additions and 5 deletions

View File

@ -1,5 +1,4 @@
<div class="resources-container"> <!-- used to be just resources and fixed -->
<!--<div class="c8">-->
<div class="resources-container">
<div class="l-flex--column">
<div class="showcase" *ngFor="let category of categories">
<header class="c-resource-header">

View File

@ -8,6 +8,15 @@
table.api-table {
min-width: 680px;
thead th {
color: white;
font-size: 16px;
background-color: $blue;
border-radius: 4px 4px 0 0;
text-transform: none;
padding: 8px 24px;
}
tbody {
pre {
white-space: normal;
@ -18,6 +27,10 @@
td, th {
padding: 0;
}
th {
max-width: 150px;
}
}
}

View File

@ -5,8 +5,7 @@
<table class="api-table">
<thead>
<tr>
<th>{$ doc.name $} Properties</th>
<th></th>
<th colspan="2">{$ doc.name $} Properties</th>
</tr>
</thead>
<tbody>

View File

@ -1,5 +1,5 @@
{% if doc.members.length %}
<div class="meta-data">
<div class="meta-data api-section">
<h2>Metadata Properties</h2>
{% for metadata in doc.members %}{% if not metadata.internal %}
<div class="metadata-member">