Skip to content

Commit

Permalink
Details tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
DustinBrett committed Sep 30, 2024
1 parent 8f5950e commit f3ec517
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions components/system/Files/FileEntry/StyledColumnRow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import styled from "styled-components";

const StyledColumnRow = styled.div`
display: flex;
height: ${({ theme }) => theme.sizes.fileManager.detailsRowHeight};
place-items: center;
div {
color: #fff;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const StyledColumns = styled.span`
position: absolute;
top: 1px;
transition: none !important;
width: 8px;
width: 7px;
}
div {
Expand Down
1 change: 1 addition & 0 deletions components/system/Files/FileManager/Columns/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ type ColumnData = {
};

export const MAX_STEPS_PER_RESIZE = 15;

export type ColumnName = "date" | "name" | "size" | "type";

export type Columns = Record<ColumnName, ColumnData>;
Expand Down
2 changes: 1 addition & 1 deletion components/system/Files/Views/Details/StyledFileEntry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const StyledFileEntry = styled.li<StyledFileEntryProps>`
bottom: 1px;
display: flex;
flex-direction: row;
height: 22px;
height: ${({ theme }) => theme.sizes.fileManager.detailsRowHeight};
place-items: center;
position: relative;
Expand Down
3 changes: 2 additions & 1 deletion styles/defaultTheme/sizes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const sizes = {
renameWidth: 75,
},
fileExplorer: {
minimumStatusBarWidth: 247,
minimumStatusBarWidth: 268,
navBarHeight: "35px",
navInputHeight: 22,
statusBarHeight: "23px",
Expand All @@ -28,6 +28,7 @@ const sizes = {
columnHeight: "25px",
columnMinWidth: 80,
columnResizeWidth: 7,
detailsRowHeight: "22px",
detailsStartPadding: 14,
gridEntryHeight: "70px",
gridEntryWidth: "74px",
Expand Down

0 comments on commit f3ec517

Please sign in to comment.