×
Table of Contents
Basic Sample
HTML Code / CSS Code
Test Link
Bootstrap Spacing
Bootstrap adding padding-left, padding-right properpty of 15px
Fix for Angular – Add follwing CSS lines to Angular’s styles.css
.container { padding-right: 0px; padding-left: 0px; }
Reference
Styling Angular CLI v6 apps with Bootstrap 4,1.3
Bootstrap HTML Code
Deine Warnungen !
cancel {{message.messageContent}}arrow_forward_ios
CSS Code
.warning-dialog { overflow:auto; max-width: 100vw; position: fixed; padding: 5px; background-color: #FF9B0D; color: black; top: 72px; left: 0; width: calc(100vw); border-radius: 10px; line-height: 20px; } /* Override bootstrap default margin-left: -15px , margin-right: -15px values */ .row { margin-left: 0px; margin-right: 0px; margin-top: 0px; background-color: #FF9B0D; } .card-element { background-color: orange; border-width: 1px; margin: 2px; padding-top: 5px; padding-bottom: 5px; align-items: center; } .card-element-right { background-color: #FF9B0D; border-width: 1px; padding-right: 0; padding-left: 0; padding-top: 5px; padding-bottom: 5px; }
How the Code looks in Angular …
on a Iphone 5 |
---|
“;[/insert_php] |