8c8dbe888e
This patches 2 problems in Turbo/idiomorph that are causing problems when reloading the pagination frames: - No remove callback in idiomorph when removing a node that had been mapped. - Regression introduced by https://github.com/hotwired/turbo/pull/1311, where it won't prevent the removal of frames with refresh=morph I will upstream both patches, this is temporary. https://fizzy.37signals.com/5986089/cards/2291
27 lines
481 B
CSS
27 lines
481 B
CSS
@layer components {
|
|
.pagination-link {
|
|
display: block;
|
|
flex: 1;
|
|
min-block-size: 1.5rem;
|
|
pointer-events: none;
|
|
text-decoration: none;
|
|
|
|
&.pagination-link--active-when-observed {
|
|
block-size: 0;
|
|
min-block-size: 0;
|
|
font-size: 0;
|
|
line-height: 0;
|
|
overflow: hidden;
|
|
visibility: hidden;
|
|
height: 0px;
|
|
text-indent: -9999px;
|
|
}
|
|
|
|
&[aria-busy="true"] {
|
|
.spinner {
|
|
display: block;
|
|
}
|
|
}
|
|
}
|
|
}
|