Better use of space on search table for desktop.
This commit is contained in:
parent
69558f15b4
commit
035508f3ad
@ -28,12 +28,24 @@ iframe {
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.index {
|
||||||
|
table-layout: fixed;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
.index .from {
|
.index .from {
|
||||||
width: 200px;
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
|
width: 15em;
|
||||||
}
|
}
|
||||||
.index .subject {
|
.index .subject {
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
.index .date {
|
.index .date {
|
||||||
|
width: 8em;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
.footer {
|
.footer {
|
||||||
|
|||||||
@ -610,6 +610,7 @@ fn view_thread(thread_set: &ThreadSet) -> Node<Msg> {
|
|||||||
let subject = first_subject(&thread_node).unwrap_or("<No subject>".to_string());
|
let subject = first_subject(&thread_node).unwrap_or("<No subject>".to_string());
|
||||||
set_title(&subject);
|
set_title(&subject);
|
||||||
div![
|
div![
|
||||||
|
C!["container"],
|
||||||
h1![C!["title"], subject],
|
h1![C!["title"], subject],
|
||||||
view_message(&thread_node),
|
view_message(&thread_node),
|
||||||
a![
|
a![
|
||||||
@ -736,7 +737,7 @@ fn view_desktop(model: &Model) -> Node<Msg> {
|
|||||||
};
|
};
|
||||||
div![
|
div![
|
||||||
view_header(&model.query, &model.refreshing_state),
|
view_header(&model.query, &model.refreshing_state),
|
||||||
section![C!["section"], div![C!["container"], content]],
|
section![C!["section"], content],
|
||||||
view_header(&model.query, &model.refreshing_state),
|
view_header(&model.query, &model.refreshing_state),
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user