Remove duplicate definition of .copyable-text and improve table layout

This commit is contained in:
Alice Gaudon 2021-01-26 14:28:53 +01:00
parent a8954fbf22
commit 8b42d83edf

View File

@ -702,6 +702,7 @@ td.actions {
th {
border-bottom: 1px solid #39434a;
white-space: nowrap;
}
tr:nth-child(even) {
@ -872,37 +873,7 @@ td.actions {
}
.content {
overflow: hidden;
white-space: nowrap;
padding: 8px;
}
.copy-button {
margin: 0;
padding: 0;
border-radius: 0;
.feather {
--icon-size: 20px;
margin: 8px;
}
}
}
.copyable-text {
display: flex;
flex-direction: row;
margin: 8px;
background-color: darken($backgroundColor, 2%);
border-radius: 5px;
overflow: hidden;
.title {
padding: 8px;
}
.content {
width: 0;
flex-grow: 1;
overflow: hidden;
white-space: nowrap;
@ -952,3 +923,7 @@ td.actions {
background: $secondary;
}
}
.table-col-grow {
width: 100%;
}