Skip to content

Commit

Permalink
Fix layermanager rows padding override by bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
raitisbe committed Nov 6, 2019
1 parent fa75a2c commit dfc610f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion components/layermanager/partials/layermanager.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="card panel-default mainpanel">
<div class="card panel-default mainpanel" id="hs-layermanager-card">
<hs.layout.panel-header panel-name="layermanager" panel-title="'Layer manager'||translate">
<extra-buttons>
<button type="button" class="but-title-sm" ng-click="removeAllLayers()">
Expand Down
13 changes: 6 additions & 7 deletions css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ li.hs-lm-item.hovering {
text-decoration: underline;
}

li.hs-lm-item, li.hs-dr-item {
#hs-layermanager-card li.hs-lm-item, li.hs-dr-item {
word-wrap: break-word;
border-left: 0;
border-right: 0;
Expand All @@ -184,18 +184,17 @@ li.hs-lm-item, li.hs-dr-item {
/*border-bottom: 0;*/
}

.hs-lm-item-status {
#hs-layermanager-card .hs-lm-item-status {
text-align: center;
color: #666666;
vertical-align: top;
}

div.hs-lm-item-title {
cursor: pointer;

cursor: pointer;
}

.hs-lm-item-visibility{
#hs-layermanager-card .hs-lm-item-visibility{
margin-top: -0.42em;
}

Expand Down Expand Up @@ -986,10 +985,10 @@ ul[dnd-list] li.selected {

.hs-senslog-sensor {color: #333}
.input-group-btn .btn {height:34px}
.hs-lm-item .hs-lm-drop-hint {
#hs-layermanager-card .hs-lm-item .hs-lm-drop-hint {
display: none;
}
.hs-lm-item:hover .hs-lm-drop-hint {
#hs-layermanager-card .hs-lm-item:hover .hs-lm-drop-hint {
z-index: 10000;
color: #cccccc;
display: inline;
Expand Down

0 comments on commit dfc610f

Please sign in to comment.