feature/css-adpations

adapted size to include padding into width calculation; edit toolbar: padding instead of margin

- [x] finish the code
- [ ] gather feedback for my changes


| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| Tests pass?   | none
| Fixed tickets | yes
| Doc           | none