summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorPhilip Chimento <philip@endlessm.com>2014-01-20 15:05:16 -0200
committerPhilip Chimento <philip@endlessm.com>2014-01-22 22:45:13 -0200
commit46f90426c60a894d97cd2f922af3d1989f4f7e96 (patch)
tree52413502e8f7470b4049542b00b1cca4379953b0 /data
parenta534c68a1ef3dc5cdc49a69d3277b9c85c25e044 (diff)
Move and realign category button
The category "go" arrow should never overlap the label text, so this moves it out of its overlay and puts it in the same layer as the label. The label now uses baseline alignment, and we can get rid of the hacky extra padding in the CSS. Currently, the innards of the category button look like this: +---------------------------------------+ | Grid, hexpand: TRUE, halign: FILL | | +------------------+ +--------------+ | | | Label | | Arrow button | | | | halign: START | | halign: END | | | | valign: BASELINE | | valign: END | | | +------------------+ +--------------+ | +---------------------------------------+ The arrow button does not have valign BASELINE, because that would align it so it was even with the first line of the label if the label was wrapped over two lines: (GOOD) (BAD) HISTORY HISTORY > & POLITICS > & POLITICS Also, I have removed the "width-chars" property of the label, because, as in the programming app in a commit which I cannot now find, when the label wraps, the width-chars property makes it request a very odd size. [endlessm/eos-sdk#505]
Diffstat (limited to 'data')
-rw-r--r--data/css/eos-wikipedia-domain.css1
1 files changed, 0 insertions, 1 deletions
diff --git a/data/css/eos-wikipedia-domain.css b/data/css/eos-wikipedia-domain.css
index 98deb8a..e352407 100644
--- a/data/css/eos-wikipedia-domain.css
+++ b/data/css/eos-wikipedia-domain.css
@@ -10,7 +10,6 @@ EosWindow {
font-family: "Lato Light";
color: #ffffff;
text-shadow: 0px 1px 0px alpha(#23326e, 0.15);
- padding-top: 15px;
}
.title.main-element.category.front-page {