resized grid color picker

This commit is contained in:
Nick van Santen 2021-01-03 23:11:02 +01:00
parent fb22477b45
commit 5b0dbdd638
2 changed files with 4 additions and 24 deletions

View File

@ -93,29 +93,9 @@
margin: 5px 5px 0 5px;
}
.grid-colors-list {
overflow: hidden;
padding: 0 5px;
}
.grid-colors-item {
float: left;
width: 20px;
height: 20px;
cursor: pointer;
border: 2px solid #888;
margin-right: 2px;
margin-bottom: 2px;
box-sizing: border-box;
}
.grid-colors-item:hover {
border-color: white;
}
.grid-colors-item.selected {
border-color: gold;
.grid-color-container .sp-preview {
width: 16px;
height: 16px;
}
.settings-section-preferences > .settings-title {

View File

@ -28,7 +28,7 @@
</div>
<div class="settings-item settings-item-grid-color">
<label>Grid color</label>
<div class="tool-icon">
<div class="grid-color-container">
<input id="grid-color-picker" class="color" type="text"/>
</div>
</div>