Skip to content

Commit 5b1b7d0

Browse files
authored
Merge pull request #27 from rakeshAlgo/ui-fixes
Doc sandbox site validation UI fixes
2 parents a71495a + d09ad07 commit 5b1b7d0

File tree

5 files changed

+29
-245
lines changed

5 files changed

+29
-245
lines changed

package-lock.json

Lines changed: 0 additions & 227 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/css/component-frame.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@
6161

6262
.frame-dropdown ul {
6363
background: var(--color-brand-white);
64-
min-width: 125px;
6564
border-radius: 0;
6665
/* box-shadow: 0 3px 10px -4px var(--color-brand-gray8); */
6766
margin: 0;
@@ -76,6 +75,7 @@
7675

7776
.frame-dropdown .related {
7877
border-left: 3px solid var(--color-brand-gray8);
78+
min-width: 125px;
7979
}
8080

8181
/* .frame-dropdown ul.frame-dropdown-list li,

src/css/doc.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@
611611
width: 65px;
612612
height: 80%;
613613
position: absolute;
614-
right: 0;
614+
right: 2px;
615615
top: 0;
616616
}
617617

@@ -620,6 +620,10 @@ code.language-console.hljs.shell {
620620
overflow-x: auto;
621621
}
622622

623+
table.tableblock code.language-console.hljs.shell {
624+
white-space: normal;
625+
}
626+
623627
.doc .dlist {
624628
margin: 1.5rem 0;
625629
}

src/css/table.css

Lines changed: 22 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@
22
Responsive Table CSS
33
========================================================================== */
44

5-
table.tableblock * {
5+
table.tableblock,
6+
table.tableblock thead,
7+
table.tableblock tbody,
8+
table.tableblock tfoot,
9+
table.tableblock td,
10+
table.tableblock th {
611
font-family: "Source Sans Pro", sans-serif;
712
}
813

@@ -29,19 +34,10 @@ table.tableblock tbody {
2934
overflow-x: auto;
3035
}
3136

32-
table.tableblock td,
33-
table.tableblock th {
34-
line-height: 1.5em;
35-
box-sizing: border-box;
36-
overflow-x: hidden;
37-
overflow-y: auto;
38-
color: var(--color-brand-gray1);
39-
}
40-
41-
table.tableblock th {
37+
table.tableblock thead th {
4238
padding-left: var(--base-small-space);
43-
padding-top: 8px;
44-
padding-bottom: 8px;
39+
padding-top: var(--base-space);
40+
padding-bottom: var(--base-space);
4541
text-align: left;
4642
border-bottom: 2px solid var(--color-brand-blue-secondary);
4743
font-size: 1rem;
@@ -57,7 +53,8 @@ table.tableblock tbody tr {
5753
background: var(--color-brand-gray7);
5854
} */
5955

60-
table.tableblock > tbody td {
56+
table.tableblock > tbody td,
57+
table.tableblock > tbody th {
6158
display: block;
6259
border-bottom: 1px solid var(--color-brand-gray8);
6360
padding-left: var(--base-small-space);
@@ -147,7 +144,8 @@ table.table-tutorial tr td:last-child {
147144
}
148145

149146
table.tableblock th,
150-
table.tableblock tbody td {
147+
table.tableblock tbody td,
148+
table.tableblock > tbody th {
151149
display: table-cell;
152150
}
153151

@@ -168,6 +166,15 @@ table.table-tutorial tr td:last-child {
168166
}
169167

170168
@media screen and (max-width: 767px) {
169+
table.tableblock td,
170+
table.tableblock th {
171+
line-height: 1.5em;
172+
box-sizing: border-box;
173+
overflow-x: hidden;
174+
overflow-y: auto;
175+
color: var(--color-brand-gray1);
176+
}
177+
171178
table.tableblock td {
172179
min-width: 14.5rem;
173180
word-break: break-word;

src/partials/nav-version-control.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
{{#unless (eq ./version @root.page.version)}}
1818
<li><a class="frame-item" href="{{relativize ./url}}">
1919
{{!-- {{{@root.page.component.title}}} --}}
20-
Version {{./displayVersion}}</a></li>
20+
{{./displayVersion}}</a></li>
2121
{{/unless}}
2222
{{/each}}
2323
</ul>

0 commit comments

Comments
 (0)