Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
ddnexus committed May 13, 2021
2 parents eb2df6d + 3cfe709 commit ab66bd5
Show file tree
Hide file tree
Showing 52 changed files with 869 additions and 887 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# CHANGELOG

## Version 4.7.1

### Changes

- Fixed a couple of HTML validity issues with uikit and materialize combo_nav_js
- Improved rematch testing
- Updated the documentation

### Commits

- [8cb4193](http://github.com/ddnexus/pagy/commit/8cb4193): fixed and simplified uikit combo nav
- [f762aca](http://github.com/ddnexus/pagy/commit/f762aca): used chip class for materialized combo nav
- [064a2b5](http://github.com/ddnexus/pagy/commit/064a2b5): rematched tests
- [2a45321](http://github.com/ddnexus/pagy/commit/2a45321): expanded the combo nav label to the whole text
- [37c65a8](http://github.com/ddnexus/pagy/commit/37c65a8): fixed and simplified materialize combo nav
- [789773b](http://github.com/ddnexus/pagy/commit/789773b): removed faulty PAGY_REMATCH variable function; added rematch_all rake task
- [eb2df6d](http://github.com/ddnexus/pagy/commit/eb2df6d): updated docs [skip ci]

## Version 4.7.0

### Changes
Expand Down
2 changes: 1 addition & 1 deletion lib/config/pagy.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

# Pagy initializer file (4.7.0)
# Pagy initializer file (4.7.1)
# Customize only what you really need and notice that Pagy works also without any of the following lines.
# Should you just cherry pick part of this file, please maintain the require-order of the extras

Expand Down
2 changes: 1 addition & 1 deletion lib/javascripts/pagy.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

function Pagy(){}

Pagy.version = '4.7.0'
Pagy.version = '4.7.1'

Pagy.delay = 100

Expand Down
2 changes: 1 addition & 1 deletion lib/locales/bg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ bg:
single_page: "Показани са <b>%{count}</b> %{item_name}"
multiple_pages: "Показани са %{item_name} <b>%{from}-%{to}</b> от <b>%{count}</b> общо"

combo_nav_js: "<label>Страница %{page_input}</label> от %{pages}"
combo_nav_js: "<label>Страница %{page_input} от %{pages}</label>"

items_selector_js: "<label>Покажи %{items_input} %{item_name} на страница</label>"
2 changes: 1 addition & 1 deletion lib/locales/bs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ bs:
single_page: "Prikazuje se <b>%{count}</b> %{item_name}"
multiple_pages: "Prikaz %{item_name} <b>%{from}-%{to}</b> od <b>%{count}</b> ukupno"

combo_nav_js: "<label>Stranica %{page_input}</label> od %{pages}"
combo_nav_js: "<label>Stranica %{page_input} od %{pages}</label>"

items_selector_js: "<label>Prikaži %{items_input} %{item_name} po stranici</label>"
2 changes: 1 addition & 1 deletion lib/locales/ca.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ ca:
single_page: "Mostrant <b>%{count}</b> %{item_name}"
multiple_pages: "Mostrant %{item_name} <b>%{from}-%{to}</b> de <b>%{count}</b> en total"

combo_nav_js: "<label>Pàgina %{page_input}</label> de %{pages}"
combo_nav_js: "<label>Pàgina %{page_input} de %{pages}</label>"

items_selector_js: "<label>Mostra %{items_input} %{item_name} per pàgina</label>"
2 changes: 1 addition & 1 deletion lib/locales/cs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ cs:
single_page: "Zobrazeno <b>%{count}</b> %{item_name}"
multiple_pages: "Zobrazeno %{item_name} <b>%{from}-%{to}</b> z <b>%{count}</b> celkem"

combo_nav_js: "<label>Strana %{page_input}</label> z %{pages}"
combo_nav_js: "<label>Strana %{page_input} z %{pages}</label>"

items_selector_js: "<label>Zobrazit %{items_input} %{item_name} na stránce</label>"
2 changes: 1 addition & 1 deletion lib/locales/da.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ da:
single_page: "Viser <b>%{count}</b> %{item_name}"
multiple_pages: "Viser %{item_name} <b>%{from}-%{to}</b> til <b>%{count}</b> totalt"

combo_nav_js: "<label>Side %{page_input}</label> of %{pages}"
combo_nav_js: "<label>Side %{page_input} of %{pages}</label>"

items_selector_js: "<label>Antal %{items_input} %{item_name} per side</label>"
2 changes: 1 addition & 1 deletion lib/locales/de.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ de:
single_page: "Zeige <b>%{count}</b> %{item_name}"
multiple_pages: "Zeige %{item_name} <b>%{from}-%{to}</b> von <b>%{count}</b> gesamt"

combo_nav_js: "<label>Seite %{page_input}</label> von %{pages}"
combo_nav_js: "<label>Seite %{page_input} von %{pages}</label>"

items_selector_js: "<label>Zeige %{items_input} %{item_name} pro Seite</label>"
2 changes: 1 addition & 1 deletion lib/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ en:
single_page: "Displaying <b>%{count}</b> %{item_name}"
multiple_pages: "Displaying %{item_name} <b>%{from}-%{to}</b> of <b>%{count}</b> in total"

combo_nav_js: "<label>Page %{page_input}</label> of %{pages}"
combo_nav_js: "<label>Page %{page_input} of %{pages}</label>"

items_selector_js: "<label>Show %{items_input} %{item_name} per page</label>"
2 changes: 1 addition & 1 deletion lib/locales/es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ es:
single_page: "Mostrando %{count} %{item_name}"
multiple_pages: "Mostrando %{item_name} %{from}-%{to} de %{count} en total"

combo_nav_js: "<label>Página %{page_input}</label> de %{pages}"
combo_nav_js: "<label>Página %{page_input} de %{pages}</label>"

items_selector_js: "<label>Mostrar %{items_input} %{item_name} por página</label>"
2 changes: 1 addition & 1 deletion lib/locales/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ fr:
single_page: "Affichage de <b>%{count}</b> %{item_name}"
multiple_pages: "Affichage des %{item_name} <b>%{from} à %{to}</b> sur <b>%{count}</b> au total"

combo_nav_js: "<label>Page %{page_input}</label> sur %{pages}"
combo_nav_js: "<label>Page %{page_input} sur %{pages}</label>"

items_selector_js: "<label>Afficher %{items_input} %{item_name} par page</label>"
2 changes: 1 addition & 1 deletion lib/locales/hr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ hr:
single_page: "Prikazuje se <b>%{count}</b> %{item_name}"
multiple_pages: "Prikaz %{item_name} <b>%{from}-%{to}</b> od <b>%{count}</b> ukupno"

combo_nav_js: "<label>Stranica %{page_input}</label> od %{pages}"
combo_nav_js: "<label>Stranica %{page_input} od %{pages}</label>"

items_selector_js: "<label>Prikaži %{items_input} %{item_name} po stranici</label>"
2 changes: 1 addition & 1 deletion lib/locales/id.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ id:
single_page: "Menampilkan <b>%{count}</b> %{item_name}"
multiple_pages: "Menampilkan %{item_name} <b>%{from}-%{to}</b> dari total <b>%{count}</b>"

combo_nav_js: "<label>Halaman %{page_input}</label> dari %{pages}"
combo_nav_js: "<label>Halaman %{page_input} dari %{pages}</label>"

items_selector_js: "<label>Tampilkan %{items_input} %{item_name} per halaman</label>"
2 changes: 1 addition & 1 deletion lib/locales/it.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ it:
single_page: "Visualizzazione di <b>%{count}</b> %{item_name}"
multiple_pages: "Visualizzazione %{item_name} <b>%{from}-%{to}</b> di <b>%{count}</b> in totale"

combo_nav_js: "<label>Pagina %{page_input}</label> di %{pages}"
combo_nav_js: "<label>Pagina %{page_input} di %{pages}</label>"

items_selector_js: "<label>Mostra %{items_input} %{item_name} per pagina</label>"
2 changes: 1 addition & 1 deletion lib/locales/ja.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ ja:
single_page: "<b>%{count}</b> 件の%{item_name}"
multiple_pages: "<b>%{count}</b> 件中 <b>%{from}-%{to}</b> 件目の%{item_name}を表示中"

combo_nav_js: "<label>%{page_input}</label> / %{pages} ページ"
combo_nav_js: "<label>%{page_input} / %{pages} ページ</label>"

items_selector_js: "<label>%{items_input} 件ずつ表示</label>"
2 changes: 1 addition & 1 deletion lib/locales/km.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ km:
single_page: "បង្ហាញ <b>%{count}</b> %{item_name}"
multiple_pages: "បង្ហាញ %{item_name} <b>%{from}-%{to}</b> នៃ <b>%{count}</b> ជាចំនួនសរុប"

combo_nav_js: "<label>ទំព័រ %{page_input}</label> នៃ %{pages}"
combo_nav_js: "<label>ទំព័រ %{page_input} នៃ %{pages}</label>"

items_selector_js: "<label>បង្ហាញ %{items_input} %{item_name} ក្នុង ១ ទំព័រ</label>"
2 changes: 1 addition & 1 deletion lib/locales/ko.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ ko:
single_page: "<b>%{count}</b>개의 %{item_name} 표시됨"
multiple_pages: "총 <b>%{count}</b>개의 %{item_name} 중 <b>%{from}-%{to}</b>"

combo_nav_js: "<label>총 %{pages} 중 %{page_input}</label> 페이지"
combo_nav_js: "<label>총 %{pages} 중 %{page_input} 페이지</label>"

items_selector_js: "<label>페이지 당 %{items_input}개 표시%</label>"
2 changes: 1 addition & 1 deletion lib/locales/nb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ nb:
single_page: "Viser <b>%{count}</b> %{item_name}"
multiple_pages: "Viser %{item_name} <b>%{from}-%{to}</b> av totalt <b>%{count}</b>"

combo_nav_js: "<label>Side %{page_input}</label> av %{pages}"
combo_nav_js: "<label>Side %{page_input} av %{pages}</label>"

items_selector_js: "<label>Vis %{items_input} %{item_name} per side</label>"
2 changes: 1 addition & 1 deletion lib/locales/nl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ nl:
single_page: "Toont <b>%{count}</b> %{item_name}"
multiple_pages: "Toont <b>%{from}-%{to}</b> %{item_name} van <b>%{count}</b> in totaal"

combo_nav_js: "<label>Pagina %{page_input}</label> van %{pages}"
combo_nav_js: "<label>Pagina %{page_input} van %{pages}</label>"

items_selector_js: "<label>Toont %{items_input} %{item_name} per pagina</label>"
2 changes: 1 addition & 1 deletion lib/locales/pl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ pl:
single_page: "Wyświetlono <b>%{count}</b> %{item_name}"
multiple_pages: "Wyświetlono %{item_name} <b>%{from}-%{to}</b> z wszystkich <b>%{count}</b>"

combo_nav_js: "<label>Strona %{page_input}</label> z %{pages}"
combo_nav_js: "<label>Strona %{page_input} z %{pages}</label>"

items_selector_js: "<label>Pokaż %{items_input} %{item_name} na stronie</label>"
2 changes: 1 addition & 1 deletion lib/locales/pt-BR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ pt-BR:
single_page: "Mostrando %{count} %{item_name}"
multiple_pages: "Mostrando %{item_name} %{from}-%{to} do total de %{count}"

combo_nav_js: "<label>Página %{page_input}</label> de %{pages}"
combo_nav_js: "<label>Página %{page_input} de %{pages}</label>"

items_selector_js: "<label>Mostrar %{items_input} %{item_name} por página</label>"
2 changes: 1 addition & 1 deletion lib/locales/pt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ pt:
single_page: "Mostrando %{count} %{item_name}"
multiple_pages: "Mostrando %{item_name} %{from}-%{to} de um total de %{count}"

combo_nav_js: "<label>Página %{page_input}</label> de %{pages}"
combo_nav_js: "<label>Página %{page_input} de %{pages}</label>"

items_selector_js: "<label>Mostrar %{items_input} %{item_name} por página</label>"
2 changes: 1 addition & 1 deletion lib/locales/ru.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ ru:
single_page: "<b>%{count}</b> %{item_name}"
multiple_pages: "Всего <b>%{count}</b> %{item_name}, показаны с <b>%{from}</b> по <b>%{to}</b>"

combo_nav_js: "<label>Страница %{page_input}</label> из %{pages}"
combo_nav_js: "<label>Страница %{page_input} из %{pages}</label>"

items_selector_js: "<label>Показать %{items_input} %{item_name} на странице</label>"
2 changes: 1 addition & 1 deletion lib/locales/sr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ sr:
single_page: "Приказује се <b>%{count}</b> %{item_name}"
multiple_pages: "Приказ %{item_name} <b>%{from}-%{to}</b> од <b>%{count}</b> укупно"

combo_nav_js: "<label>Страниca %{page_input}</label> од %{pages}"
combo_nav_js: "<label>Страниca %{page_input} од %{pages}</label>"

items_selector_js: "<label>Прикажи %{items_input} %{item_name} по страниcи</label>"
2 changes: 1 addition & 1 deletion lib/locales/sv-SE.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ sv-SE:
single_page: "Visar <b>%{count}</b> %{item_name}"
multiple_pages: "Visar %{item_name} <b>%{from}-%{to}</b> av <b>%{count}</b> totalt"

combo_nav_js: "<label>Sida %{page_input}</label> av %{pages}"
combo_nav_js: "<label>Sida %{page_input} av %{pages}</label>"

items_selector_js: "<label>Visa %{items_input} %{item_name} per sida</label>"
2 changes: 1 addition & 1 deletion lib/locales/sv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ sv:
single_page: "Visar <b>%{count}</b> %{item_name}"
multiple_pages: "Visar %{item_name} <b>%{from}-%{to}</b> av <b>%{count}</b> totalt"

combo_nav_js: "<label>Sida %{page_input}</label> av %{pages}"
combo_nav_js: "<label>Sida %{page_input} av %{pages}</label>"

items_selector_js: "<label>Visa %{items_input} %{item_name} per sida</label>"
2 changes: 1 addition & 1 deletion lib/locales/sw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ sw:
single_page: "Inaonyesha %{item_name} <b>%{count}</b>"
multiple_pages: "Inaonyesha %{item_name} <b>%{from}-%{to}</b> ya <b>%{count}</b> kwa jumla"

combo_nav_js: "<label>Kurasa %{page_input}</label> ya %{pages}"
combo_nav_js: "<label>Kurasa %{page_input} ya %{pages}</label>"

items_selector_js: "<label>Onyesha %{items_input} %{item_name} kwa kila ukurasa</label>"
2 changes: 1 addition & 1 deletion lib/locales/tr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ tr:
single_page: "Toplam <b>%{count}</b> %{item_name} gösteriliyor"
multiple_pages: "<b>%{count}</b> %{item_name} içerisinden <b>%{from}-%{to}</b> kadarı gösteriliyor"

combo_nav_js: "<label>Sayfa %{page_input}</label> / %{pages}"
combo_nav_js: "<label>Sayfa %{page_input} / %{pages}</label>"

items_selector_js: "<label>Sayfada %{items_input} %{item_name} göster</label>"
2 changes: 1 addition & 1 deletion lib/locales/uk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ uk:
single_page: "<b>%{count}</b> %{item_name}"
multiple_pages: "Загалом <b>%{count}</b> %{item_name}, показані з <b>%{from}</b> по <b>%{to}</b>"

combo_nav_js: "<label>Сторінка %{page_input}</label> з %{pages}"
combo_nav_js: "<label>Сторінка %{page_input} з %{pages}</label>"

items_selector_js: "<label>Показати %{items_input} %{item_name} на сторінці</label>"
2 changes: 1 addition & 1 deletion lib/locales/zh-CN.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ zh-CN:
single_page: "显示<b>%{count}</b> 项%{item_name}"
multiple_pages: "共 <b>%{count}</b> 项%{item_name},显示 <b>%{from}-%{to}</b>"

combo_nav_js: "<label>第 %{page_input}</label> / %{pages} 页"
combo_nav_js: "<label>第 %{page_input} / %{pages} 页</label>"

items_selector_js: "<label>每页显示 %{items_input} 条%</label>"
2 changes: 1 addition & 1 deletion lib/locales/zh-HK.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ zh-HK:
single_page: "顯示 <b>%{count}</b> %{item_name}"
multiple_pages: "共 <b>%{count}</b> %{item_name},顯示 <b>%{from}-%{to}</b>"

combo_nav_js: "<label>第 %{page_input}</label> / %{pages} 頁"
combo_nav_js: "<label>第 %{page_input} / %{pages} 頁</label>"

items_selector_js: "<label>每頁顯示 %{items_input} 記錄</label>"
4 changes: 2 additions & 2 deletions lib/locales/zh-TW.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ zh-TW:
single_page: "顯示 <b>%{count}</b> 項%{item_name}"
multiple_pages: "共 <b>%{count}</b> 項%{item_name},顯示 <b>%{from}-%{to}</b>"

combo_nav_js: "<label>第 %{page_input}</label> / %{pages} 頁"
combo_nav_js: "<label>第 %{page_input} / %{pages} 頁</label>"

items_selector_js: "<label>每頁顯示 %{items_input} 項%{item_name}"
items_selector_js: "<label>每頁顯示 %{items_input} 項%{item_name}</label>"
2 changes: 1 addition & 1 deletion lib/pagy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

# main class
class Pagy
VERSION = '4.7.0'
VERSION = '4.7.1'

# Root pathname to get the path of Pagy files like templates or dictionaries
def self.root
Expand Down
12 changes: 6 additions & 6 deletions lib/pagy/extras/materialize.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,18 +46,18 @@ def pagy_materialize_combo_nav_js(pagy, deprecated_id=nil, pagy_id: nil, link_ex
link = pagy_link_proc(pagy, link_extra: link_extra)
p_page = pagy.page
p_pages = pagy.pages
style = ' style="vertical-align: middle;"'
input = %(<input type="number" class="browser-default" min="1" max="#{p_pages}" value="#{p_page}" style="padding: 2px; border: none; border-radius: 2px; text-align: center; width: #{p_pages.to_s.length+1}rem;">)
style = ' style="vertical-align: middle"'
input = %(<input type="number" class="browser-default" min="1" max="#{p_pages}" value="#{p_page}" style="text-align: center; width: #{p_pages.to_s.length+1}rem;">)

%(<div#{p_id} class="pagy-materialize-combo-nav-js pagination" role="navigation" aria-label="pager"><div class="pagy-compact-chip" role="group" style="height: 35px; border-radius: 18px; background: #e4e4e4; display: inline-block;"><ul class="pagination" style="margin: 0" #{
%(<ul#{p_id} class="pagy-materialize-combo-nav-js pagination chip" role="navigation" aria-label="pager" style="padding-right: 0" #{
pagy_json_attr pagy, :combo_nav, p_page, pagy_marked_link(link)
}>#{
pagy_materialize_prev_html pagy, link, style
}<div class="pagy-combo-input btn-flat" style="cursor: default; padding: 0px">#{
}<li class="pagy-combo-input">#{
pagy_t 'pagy.combo_nav_js', page_input: input, count: p_page, pages: p_pages
}</div>#{
}</li>#{
pagy_materialize_next_html pagy, link, style
}</ul></div>)
}</ul>)
end

private
Expand Down
24 changes: 7 additions & 17 deletions lib/pagy/extras/uikit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,29 +44,19 @@ def pagy_uikit_combo_nav_js(pagy, deprecated_id=nil, pagy_id: nil, link_extra: '
link = pagy_link_proc(pagy, link_extra: link_extra)
p_page = pagy.page
p_pages = pagy.pages
input = %(<input type="number" min="1" max="#{p_pages}" value="#{p_page}" class="uk-input" style="padding: 0; text-align: center; width: #{p_pages.to_s.length+1}rem;">)
input = %(<input type="number" min="1" max="#{p_pages}" value="#{p_page}" style="text-align: center; width: #{p_pages.to_s.length+1}rem;">)

%(<div#{p_id} class="pagy-uikit-combo-nav-js uk-button-group" #{
%(<ul#{p_id} class="pagy-uikit-combo-nav-js uk-button-group uk-pagination uk-flex-center" #{
pagy_json_attr pagy, :combo_nav, p_page, pagy_marked_link(link)
}>#{
if (p_prev = pagy.prev)
link.call p_prev, pagy_t('pagy.nav.prev'), 'class="uk-button uk-button-default"'
else
%(<button class="uk-button uk-button-default" disabled>#{pagy_t 'pagy.nav.prev'}</button>)
end
}<div class="uk-text-middle uk-margin-left uk-margin-right">#{
pagy_uikit_prev_html pagy, link
}<li>#{
pagy_t 'pagy.combo_nav_js', page_input: input, count: p_page, pages: p_pages
}</div>#{
if (p_next = pagy.next)
link.call p_next, pagy_t('pagy.nav.next'), 'class="uk-button uk-button-default"'
else
%(<button class="uk-button uk-button-default" disabled>#{pagy_t 'pagy.nav.next'}</button>)
end
}</div>)
}</li>#{
pagy_uikit_next_html pagy, link
}</ul>)
end



private

def pagy_uikit_prev_html(pagy, link)
Expand Down
7 changes: 7 additions & 0 deletions tasks/rematch_all.rake
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# frozen_string_literal: true

desc 'Rematch all the tests with their new values'
task :rematch_all do
FileList.new('test/**/*_test.rb.yml').each { |f| File.delete(f) }
Rake::Task['test'].invoke
end
8 changes: 0 additions & 8 deletions test/e2e/public/normalize-styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,6 @@ ul li,
margin-right: .3em;
}

/* normalize materialize combo specific */
.pagy-materialize-combo-nav-js .pagy-compact-chip {
height: auto !important;
background: none !important;
border-radius: 0 !important;
display: inline-flex !important;
}

/* normalize missing chevron icons (materialize and semantic) */
li i.material-icons,
.item i.chevron {
Expand Down
Loading

0 comments on commit ab66bd5

Please sign in to comment.