diff --git a/ckanext/tour/assets/css/style.css b/ckanext/tour/assets/css/style.css index f93d2b3..5409799 100644 --- a/ckanext/tour/assets/css/style.css +++ b/ckanext/tour/assets/css/style.css @@ -81,6 +81,7 @@ .shepherd-element.tour-step .shepherd-content .shepherd-text img { max-width: 100%; height: auto; + width: -webkit-fill-available; } .shepherd-element.tour-step .shepherd-content .shepherd-stats { text-align: center; diff --git a/ckanext/tour/assets/css/style.css.map b/ckanext/tour/assets/css/style.css.map index 2fdbb98..8b26e1c 100644 --- a/ckanext/tour/assets/css/style.css.map +++ b/ckanext/tour/assets/css/style.css.map @@ -1 +1 @@ -{"version":3,"sourceRoot":"","sources":["../../theme/elements.scss","../../theme/variables.scss"],"names":[],"mappings":"AAAA;EACI;;AAEA;EACI;EACA;EACA;EACA;;AAEA;EACI;;AAEA;EACI;;AAIA;EACI;;AAIR;EACI;EACA;EACA;;AAGJ;EACI;;;AAMhB;EACI;;AAEA;EACI;;AAGJ;EACI;EACA;EACA;;AAEA;EACI;;AAEA;EACI;EACA;EACA;EACA;;AAIR;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;AAGJ;EACI;EACA;;AAGJ;EACI;;;AAOZ;EACI;;;AAGJ;EACI;;AAEA;EACI;;AAKA;EACI,kBC9FJ;;ADgGI;EACI;;AAKJ;EACI;EACA;;AAIR;EACI;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EAII;EACA;;AAKZ;EACI;EACA;EACA;EACA;;AAEA;EACI;EACA,OClJR;EDmJQ;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EAGI;EACA;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAQhB;EACI","file":"style.css"} \ No newline at end of file +{"version":3,"sourceRoot":"","sources":["../../theme/elements.scss","../../theme/variables.scss"],"names":[],"mappings":"AAAA;EACI;;AAEA;EACI;EACA;EACA;EACA;;AAEA;EACI;;AAEA;EACI;;AAIA;EACI;;AAIR;EACI;EACA;EACA;;AAGJ;EACI;;;AAMhB;EACI;;AAEA;EACI;;AAGJ;EACI;EACA;EACA;;AAEA;EACI;;AAEA;EACI;EACA;EACA;EACA;;AAIR;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;AAGJ;EACI;EACA;;AAGJ;EACI;;;AAOZ;EACI;;;AAGJ;EACI;;AAEA;EACI;;AAKA;EACI,kBC9FJ;;ADgGI;EACI;;AAKJ;EACI;EACA;EACA;;AAIR;EACI;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EAII;EACA;;AAKZ;EACI;EACA;EACA;EACA;;AAEA;EACI;EACA,OCnJR;EDoJQ;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EAGI;EACA;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAQhB;EACI","file":"style.css"} \ No newline at end of file diff --git a/ckanext/tour/collection.py b/ckanext/tour/collection.py index 6d3cdc0..3e1dc24 100644 --- a/ckanext/tour/collection.py +++ b/ckanext/tour/collection.py @@ -46,6 +46,7 @@ class TourListCollection(ApCollection): "author_id", "row_actions", ], + width={"bulk-action": "3%"}, sortable={"created_at", "modified_at"}, searchable={"title", "page"}, labels={ @@ -68,7 +69,6 @@ class TourListCollection(ApCollection): "author_id": "Author", "row_actions": "Actions", }, - width={}, serializers={ "created_at": [("date", {})], "modified_at": [("date", {})],