Skip to content

Commit

Permalink
Dev: Add vertical align middle to prefix/suffix
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Apr 15, 2016
1 parent a78049d commit a893680
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 8 deletions.
Expand Up @@ -12,7 +12,7 @@
?>

<div class="no-more-tables no-more-tables-array-dual-dropdown-layout">
<table class="table-in-qanda-10 question subquestion-list questions-list dropdown-list">
<table class="table table-in-qanda-10 question subquestion-list questions-list dropdown-list">

<?php /*
<!-- Column groups -->
Expand Down
23 changes: 16 additions & 7 deletions templates/default/css/template.css
Expand Up @@ -453,12 +453,9 @@ body .navbar-default .navbar-brand:hover {
padding-left: 47px;
}

.ddprefix {
table > tbody > tr > td.ddprefix {
padding-right: 1em;
}

.ddsuffix {
padding-left: 1em;
vertical-align: middle;
}

/**
Expand All @@ -470,6 +467,11 @@ body .navbar-default .navbar-brand:hover {
width: 6%;
}

table > tbody > tr > td.ddsuffix {
padding-left: 1em;
vertical-align: middle;
}

}

/**
Expand Down Expand Up @@ -666,10 +668,17 @@ body .navbar-default .navbar-brand:hover {
}

.col-xs-12 {
padding-right: 5px;
padding-left: 5px;
padding-right: 0;
padding-left: 0;
}

.array-by-columns-div .radio-list {
border: 1px solid #ccc;
padding: 1em;
margin: 0.5em;
}


/* For yes-no question, shrink the buttons a bit on phone screens */
.btn-lg, .btn-group-lg label {
padding: 10px 15px;
Expand Down

0 comments on commit a893680

Please sign in to comment.