signal-desktop/stylesheets/components/ContactPills.scss

23 lines
450 B
SCSS
Raw Normal View History

2021-03-03 20:09:58 +00:00
// Copyright 2021 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
.module-ContactPills {
@include smooth-scroll;
2021-03-03 20:09:58 +00:00
display: flex;
flex-wrap: wrap;
margin-bottom: 10px;
max-height: 88px;
overflow-x: hidden;
overflow-y: scroll;
2023-04-20 17:03:43 +00:00
padding-block: 4px;
2023-05-04 18:04:22 +00:00
padding-inline: 16px;
gap: 8px 12px;
2021-03-03 20:09:58 +00:00
.module-ContactPill {
max-width: calc(
100% - 15px
); // 6px for the right margin and 9px for the scrollbar
}
}