Skip to content

Commit

Permalink
Fixed dataset and file pg btn dropdown align and margin issues [ref #…
Browse files Browse the repository at this point in the history
  • Loading branch information
mheppler committed Apr 13, 2020
1 parent 21968d8 commit 11ddde0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/main/webapp/dataset.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -807,7 +807,7 @@
<button class="btn btn-default btn-export dropdown-toggle" type="button" data-toggle="dropdown">
<span class="glyphicon glyphicon-export"/> #{bundle['dataset.exportBtn']} <span class="caret"></span>
</button>
<ul class="dropdown-menu" role="menu">
<ul class="dropdown-menu pull-right text-left">
<ui:repeat var="exporter" value="#{DatasetPage.exporters}">
<li>
<h:outputLink value="#{exporter[1]}" target="_blank">
Expand Down
5 changes: 3 additions & 2 deletions src/main/webapp/file.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -401,11 +401,12 @@
</div>



<!-- DEACCESSION ONLY?? NO SUMMARY BLOCK?? RESPONSIVE ORDER HACK BOOTSTRAP 3 https://stackoverflow.com/a/24834574 -->
<div jsf:rendered="#{FilePage.fileMetadata.datasetVersion.deaccessioned}"
id="dataset-colorder-block" class="visible-md-block visible-lg-block col-md-8 col-lg-9"><!--Hack--></div>
<!-- END: RESPONSIVE ORDER HACK BOOTSTRAP 3 -->


<!-- DEACCESSION REASON -->
<div class="col-xs-12 col-sm-12 col-md-8 col-lg-9 margin-bottom" jsf:rendered="#{FilePage.fileMetadata.datasetVersion.deaccessioned}">
<div id="deaccession-reason-block" class="col-xs-12 bg-danger">
Expand Down Expand Up @@ -546,7 +547,7 @@
<button class="btn btn-default btn-export dropdown-toggle" type="button" data-toggle="dropdown">
<span class="glyphicon glyphicon-export"/> #{bundle['dataset.exportBtn']} <span class="caret"/>
</button>
<ul class="dropdown-menu" role="menu">
<ul class="dropdown-menu pull-right text-left">
<ui:repeat var="exporter" value="#{FilePage.getExporters()}">
<li>
<h:outputLink value="#{exporter[1]}" target="_blank">
Expand Down
3 changes: 2 additions & 1 deletion src/main/webapp/resources/css/structure.css
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,8 @@ td.col-file-action > .button-block, .col-manage-action > .button-block,
div.ui-datatable-header > .button-block, .button-block.tab-header, #actionButtonBlock > .button-block, .inline-buttons > .button-block {margin-top:0;}
th.col-file-action.text-right {text-align: right;}
form.btn-form {display:inline-block;}
.button-block button, .button-block a.btn, .button-block input.btn, .button-block div.btn-group, .button-block span.btn.ui-state-disabled, .button-block .button-container {margin-right:1em;}
.button-block button, .button-block a.btn, .button-block input.btn, .button-block div.btn-group, .button-block .button-container,
.button-block span.btn.ui-state-disabled, .button-block span.btn.disabled {margin-right:1em;}

/*td.col-file-action span.ingest-warning, .button-block span.ingest-warning {margin-left:.5em;}*/

Expand Down

0 comments on commit 11ddde0

Please sign in to comment.