Fix spotlight tile regressions

The buttons were scrolling with the view instead of always being visible in a fixed location on the tile, and the indicators were not adopting the correct width.
This commit is contained in:
Robin
2024-08-23 12:07:32 -04:00
parent 66b79f57bb
commit 30a54f3795
2 changed files with 22 additions and 14 deletions

View File

@@ -14,7 +14,9 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
.tile {
.contents {
block-size: 100%;
inline-size: 100%;
display: flex;
border-radius: var(--cpd-space-6x);
contain: strict;
@@ -29,7 +31,7 @@ limitations under the License.
scroll-behavior: smooth; */
}
.tile.maximised {
.tile.maximised .contents {
border-radius: 0;
}
@@ -153,7 +155,7 @@ limitations under the License.
}
.indicators > .item {
inline-size: 32px;
flex-basis: 32px;
block-size: 2px;
transition: background-color ease 0.15s;
}