Extract components for feeds

This commit is contained in:
Javi Martín
2020-12-19 20:31:11 +01:00
parent 3e7038d06c
commit 330efe5a41
14 changed files with 137 additions and 102 deletions

View File

@@ -30,3 +30,4 @@
@import "admin/*";
@import "sdg/**/*";
@import "sdg_management/*";
@import "widgets/**/*";

View File

@@ -2889,10 +2889,6 @@ table {
.feeds-list {
.proposal {
clear: both;
}
a {
&.see-all {
@@ -2906,22 +2902,6 @@ table {
}
}
.feed-image {
display: inline-block;
height: rem-calc(120);
overflow: hidden;
width: 100%;
@include breakpoint(medium) {
height: rem-calc(96);
}
img {
max-width: none;
width: 100%;
}
}
.feed-description {
p {

View File

@@ -0,0 +1,22 @@
.feed-proposals {
.proposal {
clear: both;
.feed-image {
display: inline-block;
height: rem-calc(120);
overflow: hidden;
width: 100%;
@include breakpoint(medium) {
height: rem-calc(96);
}
img {
max-width: none;
width: 100%;
}
}
}
}