-
Notifications
You must be signed in to change notification settings - Fork 12
Increase the top height on the chart of space usage #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| root = true | ||
|
|
||
| [*] | ||
| charset = utf-8 | ||
| end_of_line = lf | ||
| insert_final_newline = true | ||
| indent_style = space | ||
| indent_size = 2 | ||
| trim_trailing_whitespace = true | ||
|
|
||
| [*.md] | ||
| trim_trailing_whitespace = false |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -3,7 +3,7 @@ import Chart from "assets/img/illustration/chart.svg"; | |||||
|
|
||||||
| const SpaceUsage = () => { | ||||||
| return ( | ||||||
| <div className="flex flex-wrap items-end content-end justify-center mt-6 relative h-32"> | ||||||
| <div className="flex flex-wrap items-end content-end justify-center mt-6 relative h-40"> | ||||||
| <img src={Chart} alt="Space usage" className="absolute w-full" /> | ||||||
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Just add class
Suggested change
|
||||||
| <h3 className="w-full text-2xl text-center text-gray-800"> | ||||||
| 10,5 <small className="text-blue-600">GB</small> | ||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,11 @@ | ||
| module.exports = { | ||
| purge: ['./src/*.js', './src/components/**/*.js'], | ||
| theme: { | ||
| extend: {}, | ||
| }, | ||
| variants: {}, | ||
| plugins: [], | ||
| purge: ['./src/*.js', './src/components/**/*.js'], | ||
| theme: { | ||
| extend: {}, | ||
| height: { | ||
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. And now you no longer need to change the config. Just remove this commit and I'll be ready to merge your commit change :) |
||
| 40: "10rem" | ||
| } | ||
| }, | ||
| variants: {}, | ||
| plugins: [], | ||
| }; | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You don't need to change the height. It will break the UI when the screen resolution is lower than 1920 x 1080.