Skip to content

Commit

Permalink
Merge pull request #259 from navikt/Safari-forbedringer
Browse files Browse the repository at this point in the history
Safari forbedringer
  • Loading branch information
olsenrasmus authored Oct 10, 2024
2 parents 99e0919 + b5dcb1a commit c132fc1
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 25 deletions.
31 changes: 18 additions & 13 deletions force-app/main/default/lwc/hot_claimList/hot_claimList.css
Original file line number Diff line number Diff line change
Expand Up @@ -87,29 +87,33 @@
justify-content: center;
}
.details-container {
background-color: #fff;
all: unset;
z-index: 1010;
position: relative;
display: block;
flex-grow: 0;
width: 100%;
max-width: 1000px;
height: auto;
max-height: 100vh;
margin: auto;
padding: 5.5rem;
background-color: #fff;
border-radius: 4px;
position: relative;
flex-grow: 0;
box-sizing: border-box;
overflow: auto;
overflow-x: auto;
overflow-y: auto;
max-height: 100%;
margin-bottom: 1rem;
margin-top: 1rem;
z-index: 1010;
width: 100%;
-webkit-overflow-scrolling: touch;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.dialog {
width: 70%;
max-width: 1000px;
padding: 0;
border: none;
height: 100%;
background: transparent;
/* width: fit-content; */
width: 100%;
max-width: 1000px;
box-sizing: border-box;
}

.dialog::backdrop {
Expand All @@ -122,6 +126,7 @@
padding: 0.75rem;
}
.dialog {
height: 100%;
width: 100%;
max-width: 100%;
overflow-x: hidden;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,30 +68,34 @@
padding: 0;
border: none;
background: transparent;
width: 70%;
height: 100%;
/* width: fit-content; */
width: 100%;
max-width: 1000px;
box-sizing: border-box;
}

.dialog::backdrop {
background: rgba(50, 65, 79, 0.8);
}

.details-container {
background-color: #fff;
display: block;
padding: 5rem;
border-radius: 4px;
all: unset;
z-index: 1010;
position: relative;
display: block;
flex-grow: 0;
width: 100%;
max-width: 1000px;
height: auto;
max-height: 100vh;
margin: auto;
padding: 5.5rem;
background-color: #fff;
border-radius: 4px;
box-sizing: border-box;
overflow: auto;
overflow-x: auto;
overflow-y: auto;
max-height: 100%;
margin-bottom: 1rem;
margin-top: 1rem;
z-index: 1010;
-webkit-overflow-scrolling: touch;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.hidden {
display: none;
Expand All @@ -111,6 +115,7 @@
padding: 0.75rem;
}
.dialog {
height: 100%;
width: 100%;
max-width: 100%;
overflow-x: hidden;
Expand Down

0 comments on commit c132fc1

Please sign in to comment.