-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from HORNET-Storage/fix/various-visual-bugs
style: tables and sidebar
- Loading branch information
Showing
18 changed files
with
116 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,37 @@ | ||
import styled from 'styled-components'; | ||
import { BaseCard as CommonCard } from '@app/components/common/BaseCard/BaseCard'; | ||
|
||
const borderRad = '.5rem'; | ||
export const TablesWrapper = styled.div` | ||
margin-top: 1.875rem; | ||
`; | ||
|
||
export const Card = styled(CommonCard)` | ||
margin-bottom: 2rem; | ||
.table-mobile > div.ant-card-head-title { | ||
padding-bottom: 0.3rem !important; | ||
} | ||
.ant-card-head-title { | ||
padding-bottom: 0rem !important; | ||
} | ||
.ant-table-tbody > tr > td { | ||
padding: 0.8rem; | ||
} | ||
div.ant-table.ant-table-bordered, | ||
div.ant-table-container, | ||
.ant-table.ant-table-bordered > .ant-table-container > .ant-table-content > table { | ||
border-radius: ${borderRad}; | ||
} | ||
.ant-table-container table > thead > tr:first-child th:first-child { | ||
border-top-left-radius: ${borderRad}; | ||
} | ||
.ant-table-container table > thead > tr:first-child th:last-child { | ||
border-top-right-radius: ${borderRad}; | ||
} | ||
.ant-table-container table > tbody > tr:last-child td:last-child { | ||
border-bottom-right-radius: ${borderRad}; | ||
} | ||
.ant-table-container table > tbody > tr:last-child td:first-child { | ||
border-bottom-left-radius: ${borderRad}; | ||
} | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.