Fixes #41: Alignment fixes in bottom bar
This commit is contained in:
@@ -16,7 +16,7 @@ template.innerHTML = `
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<label>Label</label>
|
<label>Label</label>
|
||||||
<elix-dropdown-list>
|
<elix-dropdown-list style="height:22px; width:22px">
|
||||||
<slot></slot>
|
<slot></slot>
|
||||||
</elix-dropdown-list>
|
</elix-dropdown-list>
|
||||||
|
|
||||||
@@ -35,6 +35,9 @@ export class SeList extends HTMLElement {
|
|||||||
this._shadowRoot.append(template.content.cloneNode(true));
|
this._shadowRoot.append(template.content.cloneNode(true));
|
||||||
this.$dropdown = this._shadowRoot.querySelector('elix-dropdown-list');
|
this.$dropdown = this._shadowRoot.querySelector('elix-dropdown-list');
|
||||||
this.$label = this._shadowRoot.querySelector('label');
|
this.$label = this._shadowRoot.querySelector('label');
|
||||||
|
if(this.getAttribute('id') === 'tool_font_family') {
|
||||||
|
this.$dropdown.style.width = '66px';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @function observedAttributes
|
* @function observedAttributes
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ template.innerHTML = `
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<div title="Click to change fill color, shift-click to change stroke color">
|
<div title="Click to change fill color, shift-click to change stroke color">
|
||||||
<elix-centered-strip style="width:300px">
|
<elix-centered-strip style="width:300px;padding:5px;background: #fff; border-radius: 5px;">
|
||||||
</elix-centered-strip>
|
</elix-centered-strip>
|
||||||
</div>
|
</div>
|
||||||
`;
|
`;
|
||||||
|
|||||||
@@ -5,9 +5,8 @@ const template = document.createElement('template');
|
|||||||
template.innerHTML = `
|
template.innerHTML = `
|
||||||
<style>
|
<style>
|
||||||
img {
|
img {
|
||||||
top: 2px;
|
|
||||||
left: 1px;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
|
margin:0 2px 0 0;
|
||||||
}
|
}
|
||||||
span {
|
span {
|
||||||
bottom: 1px;
|
bottom: 1px;
|
||||||
@@ -19,7 +18,7 @@ template.innerHTML = `
|
|||||||
}
|
}
|
||||||
elix-number-spin-box{
|
elix-number-spin-box{
|
||||||
width: 54px;
|
width: 54px;
|
||||||
height: 25px;
|
height: 24px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<img src="./images/logo.svg" alt="icon" width="12" height="12" aria-labelledby="label" />
|
<img src="./images/logo.svg" alt="icon" width="12" height="12" aria-labelledby="label" />
|
||||||
|
|||||||
@@ -389,6 +389,7 @@ hr {
|
|||||||
min-height: 40px;
|
min-height: 40px;
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
right:2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#tools_top .tool_sep {
|
#tools_top .tool_sep {
|
||||||
@@ -646,8 +647,12 @@ input[type=text] {
|
|||||||
#tools_bottom se-spin-input {
|
#tools_bottom se-spin-input {
|
||||||
float: left;
|
float: left;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
|
display:flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
#tools_bottom elix-dropdown-list{
|
||||||
|
width:22px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bottom-icon {
|
.bottom-icon {
|
||||||
width: 22px;
|
width: 22px;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user