Skip to content

Commit 2bbfff0

Browse files
committed
Fixed overflow and padding in cards
1 parent dcb5312 commit 2bbfff0

File tree

4 files changed

+19
-7
lines changed

4 files changed

+19
-7
lines changed

src/app/pages/assets/asset-create/asset-create.component.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ mat-slide-toggle {
104104
}
105105

106106
.asset-creation-tab {
107-
padding: 0 20px;
107+
padding: 10px 20px;
108108
}
109109

110110
mat-expansion-panel {
@@ -127,4 +127,4 @@ mat-tab-group:not(.main-tab-group) .mat-mdc-tab-header {
127127

128128
.asset-creation-vocabularies mat-expansion-panel{
129129
margin: 20px 0;
130-
}
130+
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
mat-card-actions {
22
padding-bottom: 5px !important;
3+
margin-top: 10px;
34
}
5+

src/app/shared/services/catalog-browser.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ export class CatalogBrowserService {
161161
properties: properties,
162162
endpointUrl: endpointUrl,
163163
contractOffers: contractOffers,
164-
originator: catalog["originator"],
164+
originator: " http://connector-c2:29194/protoklgsdnsglsknglksdnglksnglskdngklsdgcoldfisofosidfosidfhdsoifhsdoifhsiofdhsiofhiosdfhiosh",
165165
}
166166

167167
arr.push(dataOffer);

src/styles.scss

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@
2525
font-style: italic;
2626
}
2727
:-moz-placeholder {
28-
font-style: italic;
28+
font-style: italic;
2929
}
3030
::-moz-placeholder {
31-
font-style: italic;
31+
font-style: italic;
3232
}
33-
:-ms-input-placeholder {
34-
font-style: italic;
33+
:-ms-input-placeholder {
34+
font-style: italic;
3535
}
3636

3737
/* global styles */
@@ -609,6 +609,7 @@ mat-card:not(.creation-card) {
609609
height: 100%;
610610
word-wrap: break-word;
611611
box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
612+
overflow: hidden;
612613
}
613614

614615
mat-card-content,
@@ -790,3 +791,12 @@ mat-tab-group:not(.main-tab-group) .mat-mdc-tab-header {
790791
border-bottom: 1px solid var(--grey-400);
791792
padding-left: 15px;
792793
}
794+
795+
mat-list-item {
796+
height: max-content !important;
797+
}
798+
799+
.mdc-list-item__secondary-text {
800+
white-space: pre-wrap !important;
801+
overflow-wrap: anywhere !important;
802+
}

0 commit comments

Comments
 (0)