Created
October 9, 2025 22:05
-
-
Save art-solopov/1ca0d6c0e4a096b70c3a0792f4bede24 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| .expenses-list { | |
| display: grid; | |
| grid-template-columns: auto 1fr min-content; | |
| gap: 0.5em; | |
| .row { | |
| display: grid; | |
| grid-column: 1 / -1; | |
| grid-row: span 3; | |
| grid-template-rows: subgrid; | |
| grid-template-columns: subgrid; | |
| .expense-status-label { | |
| grid-column: 1 / span 1; | |
| } | |
| .category-name { | |
| grid-column: 2 / -2; | |
| } | |
| .cost { | |
| grid-column: -2 / -1; | |
| } | |
| .comment { | |
| grid-column: 1 / -1; | |
| grid-row: 3 / span 1; | |
| } | |
| .expenses-list-links { | |
| list-style: none; | |
| margin: 0; | |
| padding: 0; | |
| grid-row: 2; | |
| grid-column: -1; | |
| } | |
| } | |
| @media(min-width: 544px) { | |
| grid-template-columns: max-content auto max-content; | |
| .row { | |
| grid-row: span 2; | |
| .comment { | |
| grid-column: 2 / -2; | |
| grid-row: 2 / -1; | |
| } | |
| .expenses-list-links { | |
| grid-row: 2 / -1; | |
| } | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment