added different styling for send-request and post-info components if they do not include the header (or in this case have a specific no header class)
@@ -18,6 +18,18 @@ won-post-info {
box-sizing: border-box;
padding: $gridRowGap;
+ &.won-post-info--noheader,
+ &.won-send-request--noheader {
+ grid-template-areas: "main" "footer";
+ grid-template-rows: minmax(10rem, 1fr) min-content;
+
+ .post-info__content {
+ border-top: none;
+ padding-top: 0;
+ }
+ }
+
+
@media (max-width : $responsivenessBreakPoint) {
border-left: none;
border-right: none;
@@ -133,16 +145,6 @@ won-post-info {
background: white;
}
- &__link {
- &__text {
- font-size: $smallFontSize;
- padding-bottom: 0.5rem;
- }
- &__input {
- width: 100%;
- }
- }
-
&__button {
width: 100%;
margin-top: 0.5rem;
