Skip to content

Commit

Permalink
fix: change preference view's style
Browse files Browse the repository at this point in the history
  • Loading branch information
teletha committed Dec 4, 2023
1 parent eaef37a commit 650c27c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/main/java/viewtify/ui/view/PreferenceView.java
Original file line number Diff line number Diff line change
Expand Up @@ -86,14 +86,13 @@ protected ViewDSL declareUI() {
*/
interface style extends StyleDSL {
Style left = () -> {
display.minWidth(180, px);
padding.vertical(40, px).left(10, px);
};

Style navi = () -> {
display.minWidth(160, px);
font.size(14, px).smooth.grayscale();
padding.vertical(10, px).left(20, px);
padding.vertical(10, px).horizontal(15, px);
cursor.pointer();
border.radius(3, px);

Expand All @@ -108,11 +107,11 @@ interface style extends StyleDSL {

Style search = () -> {
display.maxWidth(220, px);
margin.top(15, px).left(296, px).bottom(15, px);
margin.top(15, px).left(286, px).bottom(15, px);
};

Style root = () -> {
padding.left(50, px).right(30, px).top(15, px);
padding.left(40, px).right(30, px).top(15, px);
};

Style box = () -> {
Expand Down

0 comments on commit 650c27c

Please sign in to comment.