Skip to content

Commit 00f736f

Browse files
saraparsa13Sara.Parsaee
and
Sara.Parsaee
authored
fix: change bottom sheet height and centralize close icon (#186)
Co-authored-by: Sara.Parsaee <Sara.Parsaee@Tapsi.cab>
1 parent daeef6d commit 00f736f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/bottom-sheet/bottom-sheet.style.ts

+4-3
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ export default css`
88
99
.bottom-sheet {
1010
position: absolute;
11-
bottom: var(--tap-bottom-sheet-bottom, -100dvh);
12-
height: 90dvh;
11+
bottom: 0;
1312
max-height: 90dvh;
1413
display: flex;
1514
flex-direction: column;
@@ -65,11 +64,13 @@ export default css`
6564
.close-button {
6665
background-color: var(--tap-palette-gray-100);
6766
width: 32px;
68-
heigh: 32px;
67+
height: 32px;
6968
border-radius: 50%;
7069
position: absolute;
7170
left: 16px;
7271
display: flex;
72+
align-items: center;
73+
justify-content: center;
7374
-webkit-tap-highlight-color: transparent;
7475
}
7576

src/bottom-sheet/bottom-sheet.ts

-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,6 @@ export class BottomSheet extends LitElement {
171171
type="button"
172172
size="small"
173173
variant="naked"
174-
}
175174
>
176175
<tap-icon-cross color="#000"></tap-icon-cross>
177176
</tap-icon-button>

0 commit comments

Comments
 (0)