Skip to content

Commit

Permalink
fix: fix styles
Browse files Browse the repository at this point in the history
  • Loading branch information
nju33 committed May 26, 2019
1 parent 578879f commit 28dc637
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 1 deletion.
4 changes: 4 additions & 0 deletions packages/react-dayo/src/mods/components/box.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,10 @@ component.container = styled.div`
opacity: 0;
height: 0 !important;
}
> div {
text-align: center;
}
`;

export default Box;
2 changes: 1 addition & 1 deletion packages/react-dayo/src/mods/components/queue.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const Queue: React.FC<QueueProps> = (props): JSX.Element => {
Queue.displayName = 'Dayo(Queue)';

component.container = styled.aside`
position: fixed;
position: absolute;
font-size: 0.8em;
display: flex;
justify-content: flex-start;
Expand Down
1 change: 1 addition & 0 deletions packages/react-dayo/src/mods/seed/presets/alerts/error.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export const mixin = css`
border: 1px solid ${GINSYU};
padding: 0.25em 0.5em;
margin-top: 0.3em;
box-sizing: border-box;
.middle {
margin: 0 0.5em;
Expand Down
1 change: 1 addition & 0 deletions packages/react-dayo/src/mods/seed/presets/alerts/log.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export const mixin = css`
border: 1px solid ${SHIRONEZUMI};
padding: 0.25em 0.5em;
margin-top: 0.3em;
box-sizing: border-box;
.middle {
margin: 0 0.5em;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export const mixin = css`
border: 1px solid ${NAE};
padding: 0.25em 0.5em;
margin-top: 0.3em;
box-sizing: border-box;
.middle {
margin: 0 0.5em;
Expand Down
1 change: 1 addition & 0 deletions packages/react-dayo/src/mods/seed/presets/alerts/warn.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export const mixin = css`
border: 1px solid ${KUCHIBA};
padding: 0.25em 0.5em;
margin-top: 0.3em;
box-sizing: border-box;
.middle {
margin: 0 0.5em;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export const mixin = css`
font-size: 0.8em;
width: 300px;
margin-top: 0.3em;
box-sizing: border-box;
.header,
.body {
Expand Down

0 comments on commit 28dc637

Please sign in to comment.