Mobile fixes
This commit is contained in:
parent
dfa771b992
commit
91ac989d13
2 changed files with 1 additions and 4 deletions
|
|
@ -350,9 +350,6 @@
|
||||||
@import '../../scss/colours/thematic/tr';
|
@import '../../scss/colours/thematic/tr';
|
||||||
@import '../../scss/fonts/variables';
|
@import '../../scss/fonts/variables';
|
||||||
|
|
||||||
.table-wrapper {
|
|
||||||
margin: 2rem 0;
|
|
||||||
}
|
|
||||||
section.table {
|
section.table {
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
table {
|
table {
|
||||||
|
|
@ -410,6 +407,7 @@
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
padding: 0.5rem 0.25rem 0.5rem 0;
|
padding: 0.5rem 0.25rem 0.5rem 0;
|
||||||
|
vertical-align: top;
|
||||||
&.no-results {
|
&.no-results {
|
||||||
color: $tr-muted-grey;
|
color: $tr-muted-grey;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,6 @@ Allow users to filter the table by providing one of the attributes as the `filte
|
||||||
```svelte
|
```svelte
|
||||||
<Table
|
<Table
|
||||||
data="{yourData}"
|
data="{yourData}"
|
||||||
,
|
|
||||||
filterField="{'Region'}"
|
filterField="{'Region'}"
|
||||||
paginated="{true}"
|
paginated="{true}"
|
||||||
title="{'Press Freedom Index'}"
|
title="{'Press Freedom Index'}"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue