mirror of
https://github.com/zombieFox/nightTab.git
synced 2024-11-29 03:23:26 +01:00
remove redundant button spacing
This commit is contained in:
parent
c2ef6fbb2d
commit
39414aaa58
@ -200,28 +200,6 @@ button .icon,
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
button [class^="button-"],
|
||||
button [class*=" button-"],
|
||||
.button [class^="button-"],
|
||||
.button [class*=" button-"] {
|
||||
margin-left: 0.25em;
|
||||
margin-right: 0.25em;
|
||||
}
|
||||
|
||||
button [class^="button-"]:first-child,
|
||||
button [class*=" button-"]:first-child,
|
||||
.button [class^="button-"]:first-child,
|
||||
.button [class*=" button-"]:first-child {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
button [class^="button-"]:last-child,
|
||||
button [class*=" button-"]:last-child,
|
||||
.button [class^="button-"]:last-child,
|
||||
.button [class*=" button-"]:last-child {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.button-link {
|
||||
background-color: transparent;
|
||||
border: 0;
|
||||
|
@ -213,6 +213,8 @@ debugSetting.button = (parent) => {
|
||||
|
||||
debugSetting.control.button.link = new Button({ text: 'Link button', size: 'medium', style: ['link'] });
|
||||
|
||||
debugSetting.control.button.icon = new Button({ text: 'Icon button', size: 'medium', style: ['line'], iconName: 'add' });
|
||||
|
||||
parent.appendChild(
|
||||
node('div', [
|
||||
debugSetting.control.button.small.wrap(),
|
||||
@ -222,6 +224,7 @@ debugSetting.button = (parent) => {
|
||||
debugSetting.control.button.line.wrap(),
|
||||
debugSetting.control.button.ring.wrap(),
|
||||
debugSetting.control.button.link.wrap(),
|
||||
debugSetting.control.button.icon.wrap()
|
||||
])
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user