adjust styles

master
JFH 2020-11-26 23:23:13 +01:00
parent 29f2847f27
commit a7766d0764
3 changed files with 0 additions and 12 deletions

View File

@ -36,12 +36,8 @@ class Dropdown extends ListComboBox {
result.content.append( result.content.append(
templateFrom.html` templateFrom.html`
<style> <style>
:host {
float:left;
}
[part~="source"] { [part~="source"] {
grid-template-columns: 20px 1fr auto; grid-template-columns: 20px 1fr auto;
margin-top: 4px;
} }
::slotted(*) { ::slotted(*) {
padding: 4px; padding: 4px;

View File

@ -4,10 +4,6 @@ import 'elix/define/Input.js';
const template = document.createElement('template'); const template = document.createElement('template');
template.innerHTML = ` template.innerHTML = `
<style> <style>
:host {
position: relative;
top: 6px;
}
img { img {
top: 2px; top: 2px;
left: 4px; left: 4px;

View File

@ -4,10 +4,6 @@ import 'elix/define/NumberSpinBox.js';
const template = document.createElement('template'); const template = document.createElement('template');
template.innerHTML = ` template.innerHTML = `
<style> <style>
:host {
position: relative;
top: 6px;
}
img { img {
top: 2px; top: 2px;
left: 4px; left: 4px;