-
Notifications
You must be signed in to change notification settings - Fork 3
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
feat: Adjust panels spacing #448
Conversation
Deployed to https://pr-448-aescan.stg.aepps.com |
Followup, I didn't dare because of many changes #449 |
class="account-details-panel__copy-chip-ellipse"/> | ||
</div> | ||
</header> | ||
<template #heading> |
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.
header styling was moved to AppPanel to release styles duplication
@@ -142,33 +138,26 @@ const sanitizedPrice = computed(() => | |||
|
|||
<style scoped> | |||
.account-details-panel { | |||
padding: var(--space-4) var(--space-1) var(--space-3); | |||
margin-bottom: var(--space-7); | |||
&__table-header { |
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.
Styles were sorted and ordered, which uncover a lot of dead code
@@ -40,7 +40,7 @@ defineProps({ | |||
@media (--desktop) { | |||
height: 32px; | |||
font-size: 14px; | |||
padding: 6px var(--space-1); | |||
padding: var(--space-0) var(--space-1); |
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.
updated minor chips tyles
src/components/AppSelect.vue
Outdated
@@ -83,13 +83,17 @@ const selectedValue = useVModel(props, 'modelValue', emit) | |||
&__tags { | |||
border-radius: 8px; | |||
border-color: var(--color-midnight); | |||
border-width: 1.5px; |
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.
updated minor select tyles
@@ -73,9 +73,10 @@ function selectTab(tabIndex) { | |||
cursor: pointer; | |||
padding: var(--space-1); | |||
background: var(--color-midnight-15); | |||
color: var(--color-gray); | |||
color: var(--color-midnight-55); |
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.
updated colors of tabs
@@ -2,7 +2,7 @@ | |||
<app-panel class="auctions-panel"> | |||
<panel-header | |||
level="h3" | |||
title="Auctions ending soon" | |||
title="AUCTIONS ENDING SOON" |
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.
Reverted last changes in dashboard headings after consultation
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.
Impressive work, really well done! 👏
I left some comments, could you have a look at them?
I personally don't like 1.5px borders and I don't understand where these come from, I checked Figma and it's always 1px. I didn't comment in the code because there are a lot of places but personally I would keep 1px everywhere, as It was before.
Well, this is tricky. In code it is 1px, but in every zoomed scale looks like 1.5px, |
It's how Figma works and the goal is to have everything looks the same on different screens so a design looks the same for everyone but at the end I think the value that should be used is the one defined in the code / properties section. Other than how it looks on Figma, on aeScan 1px looks a bit softer than 1.5px and I personally prefer it. |
@michele-franchi I don't think that is how Figma works. I didn't have that issue before. However, I fixed it. All borders aligned to 1px |
@janmichek for example for fonts:
|
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.
Very good job 🚀
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.
First of all, that's quite an amazing job you've done. After recent fixes I didn't find anything major to improve. The only thing I'm not very happy about some weird paddings like 7px or sub px values, but I suppose it's according to the designs. Well done, mate!
src/styles/elements/_table.css
Outdated
padding: var(--space-2) 0 var(--space-1); | ||
line-height: 18px; | ||
vertical-align: top; | ||
padding: 10px 0 8px; |
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.
We could use --space-1 here
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.
fixed
src/styles/elements/_table.css
Outdated
vertical-align: middle; | ||
|
||
@media (--desktop) { | ||
padding: var(--space-1) var(--space-0); | ||
padding: 10px var(--space-0) 8px; |
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.
I would use --space-1 here
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.
yea, I missed that. Fixed
@Liubov-crypto Could you please go through the whole app and check if anything is obviously broken from UI side. Please don't compare to design material, as there are more misalignments. Thank you |
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.
Description
fixes #394
fixes #23
Demo
Checklist: