-
-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve alignment, padding/margin issues on UI
1. It vertically centers top script menu (including selectors for view, OS and recommendation levels). Before, it did not utilize the empty space on smaller screens when of the menu items overflowed to a new line. This commit fixes it, also adds margin on top selectors on small screens. 2. It adds vertical margin between slider items on vertical view. It also refactors slider component so that the `v-deep` is no longer used, instead style is set through properties. 3. It ensures symmetrical margin on both sides of the handle in slider during horizontal view. Before, the left margin did not exist and right margin was too wide. This commit balances right and left margin of the arrow. 4. It changes the way margining is done for the card list. It removes internal margin from cards, because when they have them they also add that to the outer card list. This commit solves it in a way that unifies setting gap between cards and setting gap between cards. The styles are controlled on card list instead. This way same margins and paddings is also applied to non-card view (i.e. scripts tree). Before margining was done separately and those views looked diferently. 5. It improves styling of cards. It uses variables instead of hardcoded values and also refactors and renames variables for simpler understanding.
- Loading branch information
1 parent
5217b0b
commit c8cb7a5
Showing
7 changed files
with
85 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
$card-gap: 15px; |