daedalOS/components/system/Files/FileEntry/StyledColumnRow.ts
Dustin Brett e55cca1427
Some checks failed
Tests / tests (push) Has been cancelled
Pkg upgrades
2025-04-09 22:17:22 -07:00

29 lines
713 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;