diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2020-03-31 08:48:48 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2020-03-31 08:48:48 +0200 |
commit | 5739667998d9ed5611cdeb915f145b9afb50d00f (patch) | |
tree | 8d6e26dbc22e6ca93a176b2a80648e543d8fb331 /assets | |
parent | 86e7e56650ffd264755947731fc0c9a7efe549cb (diff) |
Add inline avatar for narrow screens.
Diffstat (limited to 'assets')
-rw-r--r-- | assets/css/screen.css | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/assets/css/screen.css b/assets/css/screen.css index fdcf9b7..c7a151e 100644 --- a/assets/css/screen.css +++ b/assets/css/screen.css @@ -127,6 +127,17 @@ table { display: none; } +.message .from .avatar { + width: 1.2em; + height: 1.2em; + border-radius: 3px; + color: #fff; + display: inline-flex; + justify-content: center; + align-items: center; + margin-right: 3px; +} + @media (min-width: 768px) { .conversation .avatar { height: 64px; @@ -220,6 +231,9 @@ table { position: absolute; z-index: 10; } + .message .from .avatar { + display: none; + } } .message .from .address { |