Skip to content

Commit e0b2a62

Browse files
committed
fix margins in grid block with teaser
1 parent 4e75412 commit e0b2a62

File tree

1 file changed

+26
-0
lines changed
  • frontend/packages/volto-tagung-plone-de/src/theme

1 file changed

+26
-0
lines changed

frontend/packages/volto-tagung-plone-de/src/theme/_main.scss

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
.navigation ul.desktop-menu .submenu {
2626
padding: 20px 102px 30px;
2727
}
28+
2829
.navigation ul.desktop-menu .submenu ul {
2930
padding: 20px 0 0;
3031
}
@@ -63,6 +64,28 @@ table.slate-table th p {
6364
font-size: 0.9em;
6465
}
6566

67+
#page-document .block.gridBlock .four .teaser .teaser-item .image-wrapper,
68+
#page-edit
69+
.block-editor-gridBlock
70+
.block.gridBlock
71+
.four
72+
.teaser
73+
.teaser-item
74+
.image-wrapper,
75+
#page-add
76+
.block-editor-gridBlock
77+
.block.gridBlock
78+
.four
79+
.teaser
80+
.teaser-item
81+
.image-wrapper {
82+
margin-bottom: 0 !important;
83+
}
84+
85+
.block.gridBlock .block.teaser .teaser-item .content {
86+
margin-top: 1rem;
87+
}
88+
6689
.block.gridBlock .ui.stackable {
6790
max-width: var(--layout-container-width);
6891
}
@@ -74,6 +97,7 @@ table.slate-table th p {
7497
.block.gridBlock .block.image figure::after {
7598
height: 2.6rem !important;
7699
}
100+
77101
.block.gridBlock .block.image figure:not(:has(figcaption)) {
78102
&::after {
79103
height: 0;
@@ -84,11 +108,13 @@ table.slate-table th p {
84108
// Fix Sponsor CSS
85109
.sponsors-wrapper {
86110
@include default-container-width();
111+
87112
.sponsorheader h2 {
88113
font-size: 30px;
89114
font-weight: 300;
90115
text-align: left;
91116
}
117+
92118
.sponsors-content {
93119
.sponsorlevel {
94120
h3 {

0 commit comments

Comments
 (0)