Skip to content

Commit da81f35

Browse files
committed
fix: notif panel full width on phones only, fixed on tablets
1 parent d29ec0b commit da81f35

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

public/css/style.css

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1951,10 +1951,9 @@ tbody tr:hover {
19511951
font-size: 0.82rem;
19521952
}
19531953

1954-
/* Notification panel: full width on mobile */
1954+
/* Notification panel: adapts on tablet */
19551955
.notif-panel {
1956-
left: 0;
1957-
width: 100%;
1956+
width: 340px;
19581957
top: 0;
19591958
bottom: 0;
19601959
height: 100%;
@@ -2683,7 +2682,12 @@ tbody tr:hover {
26832682
font-size: 0.78rem;
26842683
}
26852684

2686-
/* Notif panel 480px */
2685+
/* Notif panel: full width on phones */
2686+
.notif-panel {
2687+
left: 0;
2688+
width: 100%;
2689+
}
2690+
26872691
.notif-panel-header {
26882692
padding: 12px 12px 10px;
26892693
}

0 commit comments

Comments
 (0)