Merge pull request #4822 from consul/banner_link

Fix banner link on Chromium 101
This commit is contained in:
Javi Martín
2022-05-02 17:16:14 +02:00
committed by GitHub
3 changed files with 28 additions and 28 deletions

View File

@@ -21,6 +21,7 @@
@import "advanced_search";
@import "annotator_overrides";
@import "autocomplete_overrides";
@import "banner";
@import "datepicker_overrides";
@import "layout";
@import "participation";

View File

@@ -0,0 +1,27 @@
.banner {
@include full-width-background;
.debates-list &::before,
.proposals-list &::before,
.admin &::before {
content: none;
}
a {
display: block;
> * {
padding: 0 rem-calc(16);
&:empty {
display: none;
}
}
}
+ .budget-header,
+ .budgets-index > .budget-header,
+ .jumbo {
margin-top: 0;
}
}

View File

@@ -16,7 +16,6 @@
// 15. Comments
// 16. Flags
// 17. Activity
// 18. Banners
// 19. Recommendations
// 20. Documents
// 21. Related content
@@ -2135,33 +2134,6 @@ table {
}
}
// 18. Banners
// -----------
.banner {
@include full-width-background;
.debates-list &::before,
.proposals-list &::before,
.admin &::before {
content: none;
}
a > * {
padding: 0 rem-calc(16);
&:empty {
display: none;
}
}
+ .budget-header,
+ .budgets-index > .budget-header,
+ .jumbo {
margin-top: 0;
}
}
// 19. Recommendations
// -------------------