Remove span12, main content now expand smoothly and the drawer become correctly displayed even in big resolution
This commit is contained in:
parent
c25ae02ff2
commit
e4244f01f5
2 changed files with 14 additions and 15 deletions
|
|
@ -11,7 +11,7 @@ header {
|
||||||
}
|
}
|
||||||
|
|
||||||
#main_nav {
|
#main_nav {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
#header_title {
|
#header_title {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
|
@ -163,7 +163,7 @@ header {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* This class is added when the user open the drawer */
|
/* This class is added when the user open the drawer */
|
||||||
#app.draw {
|
#app.draw > * {
|
||||||
transform: translateX(-80%);
|
transform: translateX(-80%);
|
||||||
-o-transform: translateX(-80%);
|
-o-transform: translateX(-80%);
|
||||||
-ms-transform: translateX(-80%);
|
-ms-transform: translateX(-80%);
|
||||||
|
|
|
||||||
|
|
@ -2,17 +2,16 @@
|
||||||
-# licensed under the Affero General Public License version 3 or later. See
|
-# licensed under the Affero General Public License version 3 or later. See
|
||||||
-# the COPYRIGHT file.
|
-# the COPYRIGHT file.
|
||||||
|
|
||||||
.span12
|
%h2{:style => "padding:0 10px;display:none;"}
|
||||||
%h2{:style => "padding:0 10px;display:none;"}
|
- if @stream.for_all_aspects?
|
||||||
- if @stream.for_all_aspects?
|
= t('all_aspects')
|
||||||
= t('all_aspects')
|
- else
|
||||||
- else
|
= @stream.aspect
|
||||||
= @stream.aspect
|
|
||||||
|
|
||||||
#main_stream.stream
|
#main_stream.stream
|
||||||
= render 'shared/stream', :posts => @stream.stream_posts
|
= render 'shared/stream', :posts => @stream.stream_posts
|
||||||
-if @stream.stream_posts.length > 0
|
-if @stream.stream_posts.length > 0
|
||||||
#pagination
|
#pagination
|
||||||
%a.more-link.paginate{:href => next_page_path}
|
%a.more-link.paginate{:href => next_page_path}
|
||||||
%h1
|
%h1
|
||||||
= t("more")
|
= t("more")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue