Ensure the background color of torrent list is always visible

This commit is contained in:
John Furrow
2015-11-22 16:46:18 -08:00
parent a2f386d30a
commit 992d1a7956
2 changed files with 20 additions and 4 deletions
@@ -49,12 +49,19 @@
&__file-data {
&__item {
line-height: 1.2;
margin-bottom: 5px;
word-wrap: break-word;
}
&__directory {
color: $torrent-details--file-data--directory;
font-size: 0.85em;
}
&__depth--1 {
&__depth--1,
&__filename {
padding-left: 10px;
}
+12 -3
View File
@@ -2,19 +2,28 @@
display: flex;
flex: 5;
position: relative;
&:after {
background: $torrent-list--background;
bottom: 0;
box-shadow: -1px 0 0 0 $torrent-list--border;
content: '';
height: auto;
left: 10px;
position: absolute;
right: 0;
top: 0;
}
}
.torrent {
&__list {
background: $torrent-list--background;
box-shadow: -1px 0 0 0 $torrent-list--border;
margin: 0 0 0 10px;
padding: 10px 0;
position: relative;
&__wrapper {
height: auto;
list-style: none;
max-width: 100%;
opacity: 1;