Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

Commit

Permalink
fix(formcontrol): spacing issue
Browse files Browse the repository at this point in the history
fix the spacing issue on the radio toggle button
  • Loading branch information
eddier committed Mar 2, 2017
1 parent 2f8c8db commit 9a11438
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 19 deletions.
7 changes: 7 additions & 0 deletions semantic/src/themes/tripwire/modules/checkbox.overrides
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,13 @@

}

/* Active */

.ui.toggle.checkbox input:checked ~ .box:after,
.ui.toggle.checkbox input:checked ~ label:after {
left: (@toggleLaneWidth - @toggleHandleSize) + 0.35rem;
}

/*--------------
Radio
---------------*/
Expand Down
2 changes: 1 addition & 1 deletion src/components/charts/CircleChart/Circle.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react'
import colorPallete from '../../colorPallete';
import colorPallete from '../../colorPallete'
var d3 = Object.assign({}, require('d3-shape'))

const twoPi = Math.PI * 2
Expand Down
36 changes: 18 additions & 18 deletions stories/notifications.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,25 +17,25 @@ const sampleNotifications = [{
{ id: 6, name: 'TIME OUT 6: SOURCE', state: 'warning' }
]
},
{
id: 2,
name: 'Time-Out',
filterOption: 'server',
state: 'critical',
timestamp: '03-12-2016 2:50:00',
detail: [
{
id: 2,
name: 'Time-Out',
filterOption: 'server',
state: 'critical',
timestamp: '03-12-2016 2:50:00',
detail: [
{ id: 10, name: 'TIME OUT 1: SOURCE', state: 'warning' },
{ id: 11, name: 'TIME OUT 2: SOURCE', state: 'warning' },
{ id: 12, name: 'TIME OUT 2: SOURCE', state: 'warning' }
]
},
{
id: 3,
name: 'Connection Errors',
filterOption: 'server',
state: 'critical',
timestamp: '03-12-2016 2:40:00',
detail: [
]
},
{
id: 3,
name: 'Connection Errors',
filterOption: 'server',
state: 'critical',
timestamp: '03-12-2016 2:40:00',
detail: [
{ id: 20, name: 'Connection Error 1: SOURCE', state: 'critical' },
{ id: 21, name: 'Connection Error 2: SOURCE', state: 'critical' },
{ id: 22, name: 'Connection Error 3: SOURCE', state: 'critical' },
Expand All @@ -45,8 +45,8 @@ const sampleNotifications = [{
{ id: 26, name: 'Connection Error 7: SOURCE', state: 'critical' },
{ id: 27, name: 'Connection Error 8: SOURCE', state: 'critical' },
{ id: 28, name: 'Connection Error 9: SOURCE', state: 'critical' }
]
}
]
}
]

storiesOf('Notifications', module)
Expand Down

0 comments on commit 9a11438

Please sign in to comment.