removing clearfix and updating component
This commit is contained in:
parent
12e59cae1e
commit
7b30859223
@ -591,5 +591,20 @@
|
||||
& [hidden] {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/**************************************************************************
|
||||
* GOBAL HELPERS *
|
||||
**************************************************************************/
|
||||
& .clearfix {
|
||||
&::before,
|
||||
&::after {
|
||||
content: "";
|
||||
display: table;
|
||||
}
|
||||
|
||||
&::after {
|
||||
clear: both;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -34,8 +34,8 @@ nmodule.exports = ReactDOM.renderToString(
|
||||
</Row>
|
||||
<Row>
|
||||
<Column>
|
||||
<Notificaton type='warning' icon='question'>
|
||||
<p style={style}>This is the question content</p>
|
||||
<Notificaton type='alert' icon='exclamation'>
|
||||
<p style={style}>This is the alert content</p>
|
||||
</Notificaton>
|
||||
</Column>
|
||||
</Row>
|
||||
@ -51,14 +51,14 @@ const Notificaton = require('ui/avatar');
|
||||
|
||||
module.exports = () => {
|
||||
return (
|
||||
<Notificaton type='warning' icon='exclamation'>
|
||||
<Notificaton type='warning' icon='question'>
|
||||
<p>This is the warning content</p>
|
||||
</Notificaton>
|
||||
<Notificaton type='warning' icon='question'>
|
||||
<p>This is the warning content</p>
|
||||
<p>This is the question content</p>
|
||||
</Notificaton>
|
||||
<Notificaton type='warning' icon='question'>
|
||||
<p>This is the warning content</p>
|
||||
<Notificaton type='alert' icon='exclamation'>
|
||||
<p>This is the alert content</p>
|
||||
</Notificaton>
|
||||
);
|
||||
}
|
||||
|
@ -13,7 +13,7 @@
|
||||
.notification {
|
||||
border-radius: 4px;
|
||||
box-shadow: 0 2px 0 0 rgba(0, 0, 0, 0.05);
|
||||
composes: clearfix from "../../shared/composers.css";
|
||||
display: inline-block;
|
||||
height: 100%;
|
||||
|
||||
&__warning {
|
||||
|
@ -9,15 +9,3 @@
|
||||
.clear {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.clearfix {
|
||||
&::before,
|
||||
&::after {
|
||||
content: "";
|
||||
display: table;
|
||||
}
|
||||
|
||||
&::after {
|
||||
clear: both;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user