Skip to content

Commit

Permalink
fixing config tab layout
Browse files Browse the repository at this point in the history
  • Loading branch information
skaman82 committed Jun 20, 2016
1 parent 4bc5251 commit 61297fb
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
13 changes: 12 additions & 1 deletion tabs/configuration.css
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
}

.tab-configuration .numberwide input {
width: 55px;
width: 50px;

This comment has been minimized.

Copy link
@KiteAnton

KiteAnton Jun 23, 2016

Contributor

I actually set this to 55px instead of default 50 because if you select a frequency > 10000 it will not fit properly within the field. I think this needs to be changed back to 55px, do you agree ?

image

This comment has been minimized.

Copy link
@skaman82

skaman82 via email Jun 24, 2016

Author Contributor

This comment has been minimized.

Copy link
@skaman82

skaman82 Jun 25, 2016

Author Contributor

@KiteAnton fixed in ae76f64

This comment has been minimized.

Copy link
@KiteAnton

KiteAnton Jun 25, 2016

Contributor

Ok great. I actually just created .numberwide as a copy of .number and my idea was that it should be a bit wider. If we now change both then we could skip the first one since they are identical ..?

This comment has been minimized.

Copy link
@skaman82

skaman82 via email Jun 25, 2016

Author Contributor
padding-left: 3px;
height: 20px;
line-height: 20px;
Expand Down Expand Up @@ -472,6 +472,17 @@
float: left;
}

.tab-configuration .escprotocol {
border: 1px solid silver;
margin-right: 5px;
}

.tab-configuration .gyroSyncDenom, .tab-configuration .pidProcessDenom {
border: 1px solid silver;
margin-right: 5px;
width:90px;
}


@media only screen and (max-width: 1055px) , only screen and (max-device-width: 1055px) {
.tab-configuration .gui_box span {
Expand Down
6 changes: 3 additions & 3 deletions tabs/configuration.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@
</label>
</div>

<div class="checkbox">
<div style="float: left; height: 20px; margin-right: 15px; margin-left: 3px;">
<div class="checkbox" style="border-bottom: 1px solid #ddd; padding-bottom: 5px;">
<div style="float: left; height: 20px; margin-right: 5px; margin-left: 3px;">
<input type="checkbox" name="unsyncedPWMSwitch" class="toggle" />
</div>
<label for="unsyncedpwmswitch"> <span class="freelabel"
i18n="configurationunsyndePwm"></span>
</label>
</div>
<div class="numberwide unsyncedpwmfreq" style="display: show; margin-top: 5px;">
<div class="numberwide unsyncedpwmfreq" style="display: show; margin-top: 5px; border-bottom: 1px solid #ddd; padding-bottom: 10px;">
<label>
<div class="numberspacer">
<input type="number" name="unsyncedpwmfreq" min="200" max="32000" />
Expand Down

0 comments on commit 61297fb

Please sign in to comment.