Extract components for feeds
This commit is contained in:
@@ -30,3 +30,4 @@
|
||||
@import "admin/*";
|
||||
@import "sdg/**/*";
|
||||
@import "sdg_management/*";
|
||||
@import "widgets/**/*";
|
||||
|
||||
@@ -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 {
|
||||
|
||||
22
app/assets/stylesheets/widgets/feeds/proposals.scss
Normal file
22
app/assets/stylesheets/widgets/feeds/proposals.scss
Normal 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%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user