Better dropdowns in tabs

This commit is contained in:
Gregory Schier 2016-06-11 17:00:52 -07:00
parent 6697cb1ee7
commit 5e74c71704
3 changed files with 8 additions and 6 deletions

View File

@ -8,7 +8,9 @@ const ContentTypeDropdown = ({updateRequestContentType, activeContentType}) => {
return (
<Dropdown>
<button><i className="fa fa-caret-down"></i></button>
<button className="tall">
<i className="fa fa-caret-down"></i>
</button>
<ul>
{contentTypes.map(contentType => (
<li key={contentType}>

View File

@ -6,7 +6,9 @@ import {PREVIEW_MODES, getPreviewModeName} from '../lib/previewModes'
const PreviewModeDropdown = ({updatePreviewMode}) => {
return (
<Dropdown>
<button><i className="fa fa-caret-down"></i></button>
<button className="tall">
<i className="fa fa-caret-down"></i>
</button>
<ul>
{PREVIEW_MODES.map(previewMode => (
<li key={previewMode}>

View File

@ -31,10 +31,7 @@ $border-color: $hl-md;
border-bottom: 1px solid $border-color;
border-top: 0 !important;
white-space: nowrap;
* {
color: $hl-xxl;
}
display: flex;
&:first-child {
border-left-color: transparent;
@ -45,6 +42,7 @@ $border-color: $hl-md;
}
& > * {
color: $hl-xxl;
height: 100%;
padding-left: $padding-md / 4;
padding-right: $padding-md / 4;