mirror of
https://github.com/FoggedLens/iD.git
synced 2026-03-07 11:51:35 +00:00
Remove labels from mode buttons
This commit is contained in:
@@ -477,29 +477,8 @@ button[disabled].action:hover {
|
||||
white-space: nowrap;
|
||||
display: flex;
|
||||
}
|
||||
[dir='ltr'] .tool-group button.add-preset.add-point,
|
||||
[dir='ltr'] .tool-group button.add-preset.add-point .label {
|
||||
padding-left: 0px;
|
||||
}
|
||||
[dir='ltr'] .tool-group button.add-preset:not(.add-point) {
|
||||
padding-left: 5px;
|
||||
}
|
||||
[dir='ltr'] .tool-group button.add-preset:not(.add-point) .label {
|
||||
padding-left: 3px;
|
||||
}
|
||||
[dir='rtl'] .tool-group button.add-preset.add-point,
|
||||
[dir='rtl'] .tool-group button.add-preset.add-point .label {
|
||||
padding-right: 0px;
|
||||
}
|
||||
[dir='rtl'] .tool-group button.add-preset:not(.add-point) {
|
||||
padding-right: 5px;
|
||||
}
|
||||
[dir='rtl'] .tool-group button.add-preset:not(.add-point) .label {
|
||||
padding-right: 3px;
|
||||
}
|
||||
.narrow .tool-group button.add-preset {
|
||||
padding-right: 0 !important;
|
||||
padding-left: 0 !important;
|
||||
.tool-group button.add-preset {
|
||||
padding: 0;
|
||||
}
|
||||
.tool-group button.bar-button .icon {
|
||||
flex: 0 0 20px;
|
||||
|
||||
@@ -159,12 +159,12 @@ export function uiModes(context) {
|
||||
.call(svgIcon(d.icon || '#iD-icon-' + d.button));
|
||||
}
|
||||
});
|
||||
|
||||
/*
|
||||
buttonsEnter
|
||||
.append('span')
|
||||
.attr('class', 'label')
|
||||
.text(function(mode) { return mode.title; });
|
||||
|
||||
*/
|
||||
// if we are adding/removing the buttons, check if toolbar has overflowed
|
||||
if (buttons.enter().size() || buttons.exit().size()) {
|
||||
context.ui().checkOverflow('#bar', true);
|
||||
|
||||
Reference in New Issue
Block a user