Skip to content

Commit

Permalink
Fix ui-content-area for TV
Browse files Browse the repository at this point in the history
[Issue] N/A
[Problem] "Repeat weekly" has different width than "Device On/Off" picker.
[Solution] Apply proper width to ui-content-area for Tablet and TV and center
	the element.

Signed-off-by: Grzegorz Czajkowski <g.czajkowski@samsung.com>
  • Loading branch information
grzegorz-czajkowski authored and singa2000 committed Jun 19, 2020
1 parent 7dfc6cf commit fed6a73
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/css/profile/mobile/common/core.less
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,19 @@
}

.ui-content-area {
// Width for Tablet
@media (min-width: 673px) and (min-height: 411px) {
width: 90%;
}
@media (min-width: 960px) {
width: 75%;
}

background-color: var(--background-area-color);
border-radius: 26 * @px_base;
box-sizing: border-box;
box-shadow: 0 0 0 0.25 * @px_base var(--content-area-line-color) inset;
margin: auto;

&-disabled-top-rounding {
border-top-left-radius: 0;
Expand Down

0 comments on commit fed6a73

Please sign in to comment.