-
Notifications
You must be signed in to change notification settings - Fork 106
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
Add ability to customize CSS of 'content' div #795
Add ability to customize CSS of 'content' div #795
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 :
|
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.
see my comment.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think this must be $headerCSS
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> | |||
<div class="img content atk-dialog-content">{$Content}</div> | |||
<div class="{$contentCss}">{$Content}</div> |
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 this must be $contentCSS
@romaninsh If this doesn't get merged automatically, I'll do it after requested changes and review from @PhilippGrashoff. |
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.
ok
Attention: Credit for this PR goes to @PhilippGrashoff who is the real contributor of this code. For more info see #793.