diff options
author | James Taylor <user234683@users.noreply.github.com> | 2019-12-23 14:39:59 -0800 |
---|---|---|
committer | James Taylor <user234683@users.noreply.github.com> | 2019-12-23 14:39:59 -0800 |
commit | 777ed756dcfd01845451937fb38559ee57ec44e9 (patch) | |
tree | debc2f6db7a6d0b5021e2f3480a6067397a71581 /youtube/static/shared.css | |
parent | c56fc56fa66242ae75a5b8f3e9c697f0f23c253a (diff) | |
download | yt-local-777ed756dcfd01845451937fb38559ee57ec44e9.tar.lz yt-local-777ed756dcfd01845451937fb38559ee57ec44e9.tar.xz yt-local-777ed756dcfd01845451937fb38559ee57ec44e9.zip |
Channel: Change search results to use next and previous page buttons
Because youtube doesn't give the number of search results, so previous behavior would give an error if a page number out of range was selected.
Diffstat (limited to 'youtube/static/shared.css')
-rw-r--r-- | youtube/static/shared.css | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/youtube/static/shared.css b/youtube/static/shared.css index 2393bef..973f1db 100644 --- a/youtube/static/shared.css +++ b/youtube/static/shared.css @@ -299,12 +299,23 @@ body{ grid-auto-flow: column; height: 40px; } +.next-previous-button-row{ + margin: 10px 0px; + display: flex; + justify-self:center; + justify-content: center; + height: 40px; +} .page-button{ background-color: var(--interface-color); border-style: outset; border-width: 2px; font-weight: bold; text-align: center; + padding: 5px; + } + .next-page:nth-child(2){ /* only if there's also a previous page button */ + margin-left: 10px; } .sort-button{ background-color: var(--interface-color); |