mirror of
https://github.com/usebruno/bruno.git
synced 2026-07-08 06:28:33 +00:00
48 lines
913 B
JavaScript
48 lines
913 B
JavaScript
import styled from 'styled-components';
|
|
|
|
const StyledWrapper = styled.div`
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
|
|
thead,
|
|
td {
|
|
border: 2px solid ${(props) => props.theme.table.border};
|
|
}
|
|
|
|
thead {
|
|
color: ${(props) => props.theme.table.thead.color};
|
|
font-size: ${(props) => props.theme.font.size.base};
|
|
user-select: none;
|
|
}
|
|
|
|
td {
|
|
padding: 4px 8px;
|
|
font-size: ${(props) => props.theme.font.size.sm};
|
|
}
|
|
|
|
thead th {
|
|
font-weight: 500;
|
|
padding: 10px;
|
|
text-align: left;
|
|
}
|
|
}
|
|
|
|
.table-container {
|
|
max-height: 400px;
|
|
overflow-y: scroll;
|
|
}
|
|
|
|
.key-button {
|
|
display: inline-block;
|
|
color: ${(props) => props.theme.table.input.color};
|
|
border-radius: 4px;
|
|
padding: 1px 5px;
|
|
font-family: monospace;
|
|
margin-right: 8px;
|
|
border: 1px solid #ccc;
|
|
}
|
|
`;
|
|
|
|
export default StyledWrapper;
|