Skip to content

Commit bd1bf2f

Browse files
committed
fix(modals): added fix for wrongly assigned class to button
1 parent 79282e5 commit bd1bf2f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/modals/main/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import { style, button } from './style.css';
1818
</style>
1919
<div class="container" @scroll=${(e) => this.modalService.setScrollWidth(e.currentTarget.scrollTop)}>
2020
<div class="dialog">
21-
<button @click=${() => this.close()}>
21+
<button class="close-button" @click=${() => this.close()}>
2222
${svg`
2323
<svg width="14" height="14" viewBox="0 0 14 14">
2424
<line fill="none" stroke="#666" stroke-width="1.1" x1="1" y1="1" x2="13" y2="13"></line>

src/modals/main/style.css.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export const style = css`
6262
text-transform: none;
6363
}
6464
65-
button {
65+
.close-button {
6666
position: absolute;
6767
z-index: 1010;
6868
top: 10px;

0 commit comments

Comments
 (0)