Browse Source

Fix document extension overflow

master
morethanwords 4 years ago
parent
commit
4837d24f4f
  1. 26
      src/scss/partials/_document.scss

26
src/scss/partials/_document.scss

@ -4,8 +4,9 @@
&-ico { &-ico {
background-color: $color-blue; background-color: $color-blue;
border-radius: 5px; border-radius: .5rem;
line-height: 10px; line-height: 10px;
padding: 0 .25rem;
&:after { &:after {
content: ""; content: "";
@ -30,11 +31,12 @@
background-size: contain; background-size: contain;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap;
} }
&-download { &-download {
background-color: $color-blue; background-color: $color-blue;
border-radius: 8px; border-radius: .5rem;
} }
&.ext-zip { &.ext-zip {
@ -111,13 +113,6 @@
width: 54px; width: 54px;
height: 54px; height: 54px;
color: #fff; color: #fff;
display: flex;
justify-content: center;
&.tgico-largeplay:before {
margin-right: -1px;
}
@include respond-to(handhelds) { @include respond-to(handhelds) {
height: 36px; height: 36px;
@ -130,6 +125,8 @@
align-items: center; align-items: center;
font-size: 24px; font-size: 24px;
cursor: pointer; cursor: pointer;
display: flex;
justify-content: center;
.tgico-download { .tgico-download {
transform: scale(1); transform: scale(1);
@ -152,4 +149,15 @@
height: 30px; height: 30px;
} }
} }
}
.audio {
&-ico {
display: flex;
justify-content: center;
&.tgico-largeplay:before {
margin-right: -1px;
}
}
} }
Loading…
Cancel
Save