Add ability to customize CSS of 'content' div#795
Add ability to customize CSS of 'content' div#795romaninsh merged 5 commits intoatk4:developfrom acicovic:feature/customize-modal-content-css
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #795 +/- ##
=============================================
- Coverage 76.54% 76.47% -0.07%
- Complexity 2251 2255 +4
=============================================
Files 119 119
Lines 5337 5344 +7
=============================================
+ Hits 4085 4087 +2
- Misses 1252 1257 +5
Continue to review full report at Codecov.
|
1 similar comment
Codecov Report
@@ Coverage Diff @@
## develop #795 +/- ##
=============================================
- Coverage 76.54% 76.47% -0.07%
- Complexity 2251 2255 +4
=============================================
Files 119 119
Lines 5337 5344 +7
=============================================
+ Hits 4085 4087 +2
- Misses 1252 1257 +5
Continue to review full report at Codecov.
|
|
Looks awesome but :
|
Codecov Report
@@ Coverage Diff @@
## develop #795 +/- ##
=============================================
- Coverage 76.54% 76.23% -0.31%
- Complexity 2251 2291 +40
=============================================
Files 119 119
Lines 5337 5404 +67
=============================================
+ Hits 4085 4120 +35
- Misses 1252 1284 +32
Continue to review full report at Codecov.
|
|
Am lost writing a test for this :) Do I get it correctly that:
|
|
Simply add to modal demo page, and it should be fine. I think it will be enough if you add another "modal" to existing page , it should affect coverage. |
|
@PhilippGrashoff check out why modal is not opening , please... |
|
@acicovic - are you in ATK contributor team? if yes - you can push branch directly into this repo.. (contact me if you need it) |
template/semantic-ui/modal.html
Outdated
| @@ -1,6 +1,6 @@ | |||
| <{_element}div{/} id="{$_id}" class="{_ui}ui {/} {$class} {_class}{/}" style="{$style}" {$attributes}><i class="{$close}"></i> | |||
| <div class="{$headerCss}">{$title}</div> | |||
There was a problem hiding this comment.
i think this must be $headerCSS
template/semantic-ui/modal.html
Outdated
| <{_element}div{/} id="{$_id}" class="{_ui}ui {/} {$class} {_class}{/}" style="{$style}" {$attributes}><i class="{$close}"></i> | ||
| <div class="{$headerCss}">{$title}</div> | ||
| <div class="img content atk-dialog-content">{$Content}</div> | ||
| <div class="{$contentCss}">{$Content}</div> |
There was a problem hiding this comment.
i think this must be $contentCSS
|
@romaninsh If this doesn't get merged automatically, I'll do it after requested changes and review from @PhilippGrashoff. |
Attention: Credit for this PR goes to @PhilippGrashoff who is the real contributor of this code. For more info see #793.