Commit 380fdac8 authored by femiadeyemi's avatar femiadeyemi
Browse files

feature-section: remove the bottom part of the card

Motivation:

https://gitlab.hzdr.de/hifis-technical-platform/helmholtz-marketplace-webapp/-/issues/21

Modifcation:

- remove the see offer button and its container and resize the only child of
  card to fit the parent.

Result:

Resolve issue 21

Target: master
parent 7cd59f6d
Pipeline #60707 failed with stages
in 1 minute and 52 seconds
......@@ -128,11 +128,6 @@ class FeatureSection extends LitElement
.content {
padding: 20px;
}
.card mwc-button {
--mdc-theme-on-primary: white;
--mdc-theme-primary: #8c8c8c;
--mdc-typography-button-text-transform: lowercase;
}
@media screen and (max-width: 699.9px) {
mwc-fab {
......@@ -215,7 +210,6 @@ class FeatureSection extends LitElement
min-width: 280px;
height: 140px;
margin-right: 10px;
cursor: pointer;
border: 1px solid #ececec;
background-color: #fff;
border-radius: 6px;
......@@ -230,7 +224,7 @@ class FeatureSection extends LitElement
.top {
display: block;
width: 100%;
height: 75%;
height: 100%;
padding-right: 10px;
}
.inner-top {
......@@ -263,15 +257,6 @@ class FeatureSection extends LitElement
.description div:first-of-type {
display: none;
}
.bottom {
display: block;
height: 25%;
border-top: 1px solid #ececec;
}
.card mwc-button {
--mdc-typography-button-font-size: 0.65em;
--mdc-typography-button-font-weight: 100;
}
.h {
min-width: 30px;
visibility: hidden;
......@@ -320,9 +305,6 @@ class FeatureSection extends LitElement
</div>
</div>
</div>
<div class="bottom">
<mwc-button icon="info">see offers</mwc-button>
</div>
</div>
`
)}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment