-
Notifications
You must be signed in to change notification settings - Fork 26
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
Issue #189 Print options fix #238
Conversation
@@ -340,6 +342,8 @@ export class PrintService { | |||
try { | |||
this.addCanvas(doc, canvas, size, margins); | |||
} catch (err) { | |||
alert('2' + err.toString()); |
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.
Is this intended or you forgot to remove it?
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.
Forgot, just removed it
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.
Code looks nice. I'll try and test it soon.
Good work, thank you! I think it would be better if there was some padding added the bottom of the slide toggle group because, as it is right now, it overlaps with the next field's placeholder. Also, I think it would look better if the labels were before the slide toggle but I don't have a strong opinion on that matter. It could very well stay like this. |
Looks good! |
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.
After the changes, its seems good to me. Great work !
mat-checkbox.horizontal-left span { | ||
padding: 0 8px; | ||
mat-slide-toggle ::ng-deep span { | ||
font-size: 100% !important; |
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.
try to avoid using the 'important' keyword
@@ -9,7 +9,8 @@ import { | |||
MatInputModule, | |||
MatFormFieldModule, | |||
MatRadioModule, | |||
MatCheckboxModule | |||
MatCheckboxModule, |
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 think that the MatCheckboxModule and MatRadioModule modules are no longer useful
Please check if the PR fulfills these requirements
What is the current behavior? (You can also link to an open issue here)
Issue #189
What is the new behavior?
Toggle options
Selectbox for orientation
Margins correction
Does this PR introduce a breaking change? (check one with "x")
If this PR contains a breaking change, please describe the impact and migration path for existing applications:
Other information: