Merge pull request #520 from lbryio/ui_resize
Card row autoadjust on window resize and scroll arrow clipping css fix
This commit is contained in:
commit
4c2143fda4
2 changed files with 7 additions and 4 deletions
|
@ -16,7 +16,7 @@ Web UI version numbers should always match the corresponding version of LBRY App
|
||||||
*
|
*
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
*
|
* Some CSS changes to prevent the card row from clipping the scroll arrows after the window width is reduced below a certain point
|
||||||
*
|
*
|
||||||
|
|
||||||
### Deprecated
|
### Deprecated
|
||||||
|
|
|
@ -210,8 +210,9 @@ $padding-right-card-hover-hack: 30px;
|
||||||
.card-row--small {
|
.card-row--small {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
/*hacky way to give space for hover */
|
width: 100%;
|
||||||
padding-right: $padding-right-card-hover-hack;
|
min-width: $width-card-small;
|
||||||
|
margin-right: $spacing-vertical;
|
||||||
}
|
}
|
||||||
.card-row__header {
|
.card-row__header {
|
||||||
margin-bottom: $spacing-vertical / 3;
|
margin-bottom: $spacing-vertical / 3;
|
||||||
|
@ -219,6 +220,8 @@ $padding-right-card-hover-hack: 30px;
|
||||||
|
|
||||||
.card-row__scrollhouse {
|
.card-row__scrollhouse {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
/*hacky way to give space for hover */
|
||||||
|
padding-right: $padding-right-card-hover-hack;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-row__nav {
|
.card-row__nav {
|
||||||
|
@ -249,7 +252,7 @@ $padding-right-card-hover-hack: 30px;
|
||||||
left: 0;
|
left: 0;
|
||||||
}
|
}
|
||||||
.card-row__nav--right {
|
.card-row__nav--right {
|
||||||
right: -1 * $padding-right-card-hover-hack;
|
right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card__icon-featured-content {
|
.card__icon-featured-content {
|
||||||
|
|
Loading…
Reference in a new issue