mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-02 17:48:50 -04:00
Line up linked message in viewport
We anchor link to the relevant message in a thread. Which is good, but it leaves the messages hard against the top edge of the viewport. This looks sloppy. So this commit: - makes each message focusable - shifts the focused message with CSS to sit away from the viewport
This commit is contained in:
@@ -63,3 +63,13 @@ $tail-angle: 20deg;
|
||||
.sms-message-status-outbound {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.sms-message-row {
|
||||
|
||||
&:focus {
|
||||
outline: none;
|
||||
padding-top: 20px;
|
||||
margin-top: -20px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user