nwg-panel: fix clock size to actually be larger on lappy/desko
This commit is contained in:
parent
6f0a455d0b
commit
ef29b569e5
|
@ -23,7 +23,8 @@ in
|
||||||
# what looks good:
|
# what looks good:
|
||||||
# - 15px on moby
|
# - 15px on moby
|
||||||
# - 24px on lappy
|
# - 24px on lappy
|
||||||
default = lib.min 24 (cfg.config.fontSize - 1);
|
# there's about 10px padding total around this (above + below)
|
||||||
|
default = lib.min 24 (cfg.config.height - 11);
|
||||||
};
|
};
|
||||||
fontSize = mkOption {
|
fontSize = mkOption {
|
||||||
type = types.int;
|
type = types.int;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user