Skip to content

Commit

Permalink
fix(app-audit-logs): date fields text alignment [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
brunozoric committed May 16, 2024
1 parent 1ea4bf7 commit 1a4f2b1
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions packages/app-audit-logs/src/views/Logs/Filters/styled.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,39 @@ import styled from "@emotion/styled";
export const TimestampFiltersContainer = styled.div`
display: flex;
column-gap: 16px;
flex-grow: 1;
.mdc-text-field:first-of-type {
height: 40px !important;
position: relative;
min-width: 225px;
input {
text-indent: 20px;
}
input:before {
text-indent: 0;
content: "From:";
margin-right: 8px;
margin-left: -25px;
position: absolute;
}
}
.mdc-text-field:last-of-type {
height: 40px !important;
position: relative;
min-width: 205px;
input {
text-indent: 10px;
}
input:before {
text-indent: 0;
content: "To:";
margin-right: 8px;
margin-left: -15px;
position: absolute;
}
}
`;

0 comments on commit 1a4f2b1

Please sign in to comment.