Skip to content

Commit 65075ad

Browse files
authored
Merge pull request NativeScript#1091 from NativeScript/bundev/fix-search-and-tables
Fix first table cell and search field on top
2 parents c669323 + 2790d99 commit 65075ad

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

build/_assets/stylesheets/styles.css

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5782,7 +5782,7 @@ html .tp-radio .radio__icon:before {
57825782
}
57835783

57845784
/* table styling (copied from the theme.css which is not loaded anymore */
5785-
table {
5785+
.Section table {
57865786
width: 100%;
57875787
margin: 20px 0;
57885788
text-align: left;
@@ -5792,11 +5792,13 @@ table {
57925792
border-left-width: 0;
57935793
border-right-width: 0;
57945794
}
5795-
table tr {
5795+
5796+
.Section table tr {
57965797
border-left-width: 0;
57975798
border-right-width: 0;
57985799
}
5799-
table th {
5800+
5801+
.Section table th {
58005802
padding: 6px 15px;
58015803
border-top: 2px solid #ecf0f1;
58025804
border-bottom: 2px solid #ecf0f1;
@@ -5812,18 +5814,20 @@ table th {
58125814
border-left-width: 0;
58135815
border-right-width: 0;
58145816
}
5815-
table td {
5817+
5818+
.Section table td {
58165819
border-top: 2px solid #ecf0f1;
58175820
padding: 10px 15px;
58185821
font: inherit;
58195822
line-height: normal;
58205823
border-left-width: 0;
58215824
border-right-width: 0;
58225825
}
5823-
table td:first-child {
5824-
white-space: nowrap;
5825-
}
5826-
table td h2, table td h3, table td h4, table td h5 {
5826+
5827+
.Section table td h2,
5828+
.Section table td h3,
5829+
.Section table td h4,
5830+
.Section table td h5 {
58275831
font-weight: 500;
58285832
margin: 0;
58295833
}

0 commit comments

Comments
 (0)