Fix call tile copy button

This commit is contained in:
Robert Long 2021-12-10 14:01:55 -08:00
commit 10f1446415
3 changed files with 34 additions and 18 deletions

View file

@ -1,17 +1,23 @@
.callTile {
display: flex;
min-width: 240px;
height: 94px;
padding: 12px;
text-decoration: none;
background-color: var(--bgColor2);
border-radius: 8px;
overflow: hidden;
box-sizing: border-box;
position: relative;
user-select: none;
}
.callTileLink {
display: flex;
text-decoration: none;
width: 100%;
}
.avatar,
.copyButton {
.copyButtonSpacer {
flex-shrink: 0;
}
@ -49,11 +55,18 @@
white-space: nowrap;
}
.copyButtonSpacer,
.copyButton {
width: 16px;
height: 16px;
}
.copyButton {
position: absolute;
top: 12px;
right: 12px;
}
.callList {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));