Skip to content

Commit

Permalink
Merge pull request #928 from OneZoom/button-rounded-corners
Browse files Browse the repository at this point in the history
Don't let content overlap rounded corners #924
  • Loading branch information
hyanwong authored Dec 9, 2024
2 parents 35d92a7 + 240c10f commit 2059c37
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions OZprivate/scss/tree.scss
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ body.loading #UI #loading_spinner {
.ui-controls {
border: 1px solid $oz_border_def;
border-radius: 5px;
overflow: hidden; /* icons shouldn't sprawl over our corners */
background-color: white;
margin-top: 0.5em;

Expand Down
1 change: 1 addition & 0 deletions OZprivate/scss/ui_widgets.scss
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ progress[value] {
color: $oz_border_def;
border: 1px solid $oz_border_def;
border-radius: 5px;
overflow: hidden; /* Don't let content overflow borders */
}

.uk-navbar-dropdown-nav>li>a {
Expand Down
4 changes: 2 additions & 2 deletions views/treeviewer/UI_layer.load
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<a uk-tooltip="pos: right" title="{{=T('Settings')}}" onclick="$('.uk-tooltip.uk-active').hide()" uk-icon="icon: settings"></a>
</div>
</li>
<form id="settingsDropdown" class="uk-navbar-dropdown" uk-dropdown="pos: right-bottom; mode: click; offset: 3;">
<form id="settingsDropdown" class="uk-navbar-dropdown" uk-dropdown="container:#UI; pos: right-bottom; mode: click; offset: 3;">
<ul class="uk-nav uk-navbar-dropdown-nav uk-margin-left">
<li class="uk-nav-header">{{=T('Information')}}</li>
<li><a href="#howuse-modal" uk-toggle><span uk-icon="icon: expand"></span>{{=T('How to use')}}</a></li>
Expand Down Expand Up @@ -155,7 +155,7 @@ advSchbx='<li class="searchbox uk-search uk-search-default"><div><div class="sea
<div class='icon-container'>
<a class="uk-icon"><svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle fill="none" stroke="#000" stroke-width="1.1" cx="9.5" cy="9.5" r="9"/><path d="m 9.5,3.5 -1.5,6 1.5,6 1.5,-6 z" fill="none" stroke="#000" stroke-linejoin="miter" stroke-miterlimit="8" transform="rotate(40 9.5 9.5)"/><path d="m 9.5,3.5 -1.5,6 3,0 z" fill="#000" transform="rotate(40 9.5 9.5)"/><path fill="none" stroke="#000" stroke-linecap="round" d="M 9.5,0.5 9.5,2"/><path fill="none" stroke="#000" stroke-linecap="round" d="m 9.5,17 0,1.5"/><path fill="none" stroke="#000" stroke-linecap="round" d="M 0.5,9.5 2,9.5"/><path fill="none" stroke="#000" stroke-linecap="round" d="m 17,9.5 1.5,0"/></svg></a>
</div><!-- inline-block: hide whitespace
--><div uk-dropdown="pos: right-bottom; delay-hide: 1000; boundary: .ui-controls; boundary-align: true" id="locationDropdown">
--><div uk-dropdown="container:#UI; pos: right-bottom; delay-hide: 1000; boundary: .ui-controls; boundary-align: true" id="locationDropdown">
<ol class="location-list"></ol>
</div><!-- inline-block: hide whitespace
--><span class='button-label top-border top-right-radius top-padding'>{{=T('Location')}}</span><!-- inline-block: hide whitespace
Expand Down

0 comments on commit 2059c37

Please sign in to comment.