-
-
Notifications
You must be signed in to change notification settings - Fork 423
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
Fix: vertical bar broken in chart/gear acitivity (issue: #1646) #1673
base: dev
Are you sure you want to change the base?
Conversation
Signed-off-by: Aditya <[email protected]>
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 guess it's related to your IDE settings but do not change file indentation.
Only lines updated should be in the PR.
activities/Chart.activity/index.html
Outdated
<div id="toolbar-left"> | ||
<sugar-toolitem ref="activityPal" id="activity-button"></sugar-toolitem> | ||
<sugar-toolitem | ||
ref="sharedPal" | ||
id="network-button" | ||
:title="l10n.stringNetwork" | ||
palette-file="sugar-web/graphics/presencepalette" | ||
palette-class="PresencePalette" | ||
palette-event="shared" | ||
@shared="SugarPresence.onShared" | ||
v-if="SugarPresence" | ||
></sugar-toolitem> |
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.
Do not change indentation.
activities/Chart.activity/index.html
Outdated
<hr /> | ||
<sugar-toolitem id="add-button" :title="l10n.stringAddValue" @click="addData"></sugar-toolitem> | ||
<sugar-toolitem id="remove-button" :title="l10n.stringRemoveValue" @click="removeData"></sugar-toolitem> |
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.
Do not change indentation.
/* Toolbar separator */ | ||
.toolbar hr { | ||
display: inline-block; | ||
height: 33px; | ||
margin: 2.5px; | ||
margin-bottom: -17px; | ||
/* margin-bottom: -17px; */ |
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.
Do not let commented code.
Ok i will make the changes you mentioned. Thanks |
Signed-off-by: Aditya <[email protected]>
Hey @llaske i have removed the comments and indentation in my latest commit please have a look |
Signed-off-by: Aditya <[email protected]>
It works. |
I looked around a bit and found out that the issue with <hr/ > lines not being consistent was I split right/left because on applying display flex the style class of pull-right was over written so to move the icons in group in 2 sides of screen i used |
One thing that i can think of is that wrapping |
Fixed the broken vertical line in Chart/Gears activities, ensuring its applicable on all plaforms (issue: #1646)
Steps:
dislay: flex
andjustify-content: space-between
to move both the part to ends of both side of screen. and useddislay: flex
andalign-item:centre
to move hr to correct position.Chrome:
Firefox:
Electron.js app: