Skip to content

Commit

Permalink
After CR
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasOsti committed Jun 6, 2024
1 parent 669f85a commit 9a60a33
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,16 +67,12 @@ const getContentTypeName = (contentTypeIdentifier) => {
return contentTypesDataMap[contentTypeIdentifier].name;
};

const getContentTypeByIdentifier = (contentTypeIdentifier) => {
const getContentTypeData = (contentTypeIdentifier) => {
if (!contentTypesDataMap) {
contentTypesDataMap = createContentTypeDataMap();
}

if (!contentTypeIdentifier || !contentTypesDataMap[contentTypeIdentifier]) {
return null;
}

return contentTypesDataMap[contentTypeIdentifier];
return contentTypesDataMap[contentTypeIdentifier] ?? null;
};

const getContentTypeIconUrlByHref = (contentTypeHref) => {
Expand Down Expand Up @@ -113,7 +109,7 @@ export {
createContentTypeDataMapByHref,
getContentTypeIconUrl,
getContentTypeName,
getContentTypeByIdentifier,
getContentTypeData,
getContentTypeIconUrlByHref,
getContentTypeDataByHref,
getContentTypeNameByHref,
Expand Down
4 changes: 2 additions & 2 deletions src/bundle/Resources/public/scss/_custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,8 @@ $ibexa-font-family:
$ibexa-font-family-headings: 'Work Sans', sans-serif;

//Ibexa z-index
$ibexa-backdrop-zindex: 1175;
$ibexa-modal-zindex: 1180;
$ibexa-backdrop-zindex: 2175;
$ibexa-modal-zindex: 2180;

// boostrap variables
$white: $ibexa-color-white;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.m-ud {
position: fixed;
z-index: 1100;
z-index: 2100;
top: 0;
left: 0;
height: 100vh;
Expand Down

0 comments on commit 9a60a33

Please sign in to comment.