Files
daedalOS/components/system/Files/FileEntry/StyledColumnRow.ts
2024-10-12 10:42:10 -07:00

28 lines
705 B
TypeScript

import styled from "styled-components";
const StyledColumnRow = styled.div`
display: flex;
font-size: 12px;
height: ${({ theme }) => theme.sizes.fileManager.detailsRowHeight};
margin-left: 2px;
place-items: center;
div {
color: rgb(222, 222, 222);
overflow: hidden;
padding-right: ${({ theme }) =>
theme.sizes.fileManager.detailsEndPadding}px;
text-overflow: ellipsis;
white-space: nowrap;
&:last-child {
margin-right: -${({ theme }) => theme.sizes.fileManager.detailsEndPadding / 2}px;
padding-right: ${({ theme }) =>
theme.sizes.fileManager.detailsEndPadding - 4}px;
text-align: right;
}
}
`;
export default StyledColumnRow;