-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ui): Avoid scroll in Add Strings to screenshot (#12418)
* Avoid scroll in add strings to screenshot - Added a height limit to the first table showing strings related to the screenshot. to prevent scroll and hiding the second table. - Fixed buttons overallaping in the actions of the tables on mobile devices Fixes: #7085 * Limit height of strings table in screenshot detail page To prevent scroll and hiding the second table, a height limit has been added to the first table showing strings related to the screenshot. Fixes: #7085 * Remove margin-bottom from screenshot strigns table * Update screenshot_detail.css Remove unnecessary margin-bottom from table
- Loading branch information
Showing
3 changed files
with
47 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/* | ||
* Copyright © Michal Čihař <[email protected]> | ||
* | ||
* SPDX-License-Identifier: GPL-3.0-or-later | ||
*/ | ||
|
||
#sources-listing #strings-table-container { | ||
max-height: 400px; | ||
overflow-y: auto; | ||
} | ||
|
||
#sources-listing table, | ||
#search-results table { | ||
margin-bottom: 0; | ||
} | ||
|
||
@media (max-width: 767px) { | ||
#sources-listing #strings-table-container { | ||
max-height: 300px; | ||
} | ||
|
||
#sources-listing td > .btn { | ||
margin-bottom: 5px; | ||
} | ||
|
||
.panel-footer { | ||
gap: 20px; | ||
display: flex; | ||
flex-direction: column; | ||
} | ||
} |
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