Skip to content
This repository has been archived by the owner on Oct 1, 2019. It is now read-only.

Commit

Permalink
temp: Various iOS-related visual fixes
Browse files Browse the repository at this point in the history
TODO: search, container width

TODO: check for incorrect evaluation of 'flex: 1'
  • Loading branch information
artkravchenko committed Apr 7, 2017
1 parent 376e5a5 commit 87320f8
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 7 deletions.
5 changes: 4 additions & 1 deletion src/less/blocks/header.less
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@
.header__corner {
display: flex;
width: 60px;
height: 100%;

// height: 100%;
height: 60px;

align-items: center;
justify-content: center;

Expand Down
26 changes: 21 additions & 5 deletions src/less/blocks/page.less
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@

@media @fluidDesktopNarrow {
flex-basis: 1024px;
overflow-x: hidden; // alt sidebar overflow issue
}

@media @fluidDesktopStandard {
Expand Down Expand Up @@ -170,6 +171,11 @@
flex-wrap: wrap;
margin: auto;

// alt sidebar issue
@media (min-width: 1024px) {
flex-wrap: nowrap;
}

&-up {
position: relative;
z-index: 10;
Expand Down Expand Up @@ -263,22 +269,32 @@
}

.page__content {
flex: 1;
flex-grow: 1;
flex-shrink: 1;
padding: 0 0 @doubleSpace 0;
max-width: 320px;
width: 320px;

@media @fluidMobileWide {
max-width: 294px;
}

@media @fluidMobileMaxWide {
max-width: 360px;
}

@media @fluidTablet {
// flex: none;
width: 570px;
max-width: 550px;
}

@media @fluidDesktopNarrow, @fluidDesktopStandard, @fluidDesktopWider {
//flex: none;
width: 580px;
max-width: 580px;
}

@media @fluidDesktopWide {
flex: none;
width: 740px;
max-width: 740px;
}
}

Expand Down
4 changes: 3 additions & 1 deletion src/less/blocks/search.less
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@
}

.search__input {
width: 340px;
// width: 340px;
width: 100%;

background: none;
border: none;
padding-left: @space;
Expand Down

0 comments on commit 87320f8

Please sign in to comment.