<md-dialog aria-label="Project details">
  <form ng-cloak>

    <md-toolbar>
      <div class="md-toolbar-tools">
        <span flex></span>
        <md-button class="md-icon-button" ng-click="cancel();" aria-label="close dialog">
          <span class="glyphicon glyphicon-remove" aria-hidden="true"></span>
        </md-button>
      </div>
    </md-toolbar>

    <md-dialog-content>
      <div class="md-dialog-content font_raleway">
        <div class="row">
          <div ng-repeat="pimgsrc in projectImgsrc track by $index"
            ng-class="{'row padding_bottom_20px':$index%2==1}">
            <img class="col-sm-6" ng-src="{{pimgsrc}}" alt="{{pimgsrc}}"
            ng-click="showImage(pimgsrc, $event)">
          </div>
        </div>
        <h3 ng-bind="(projectCategory)+' for '+(projectTitle)"></h3>
        <div ng-if="projectDemosrc!=''">
          <span class="ti-share"></span>&nbsp;&nbsp;
          <a ng-href="{{trustSrc(projectDemosrc[1])}}" ng-bind="'view on '+projectDemosrc[0]" target="_blank"></a>
        </div>
        <ul>
          <li ng-repeat="ptask in projectTask" ng-bind="ptask"></li>
        </ul>
      </div>
    </md-dialog-content>

  </form>
</md-dialog>

<md-dialog aria-label="Project details">
  <form ng-cloak>

    <md-toolbar>
      <div class="md-toolbar-tools col-sm-12">
        <span flex></span>
        <md-button class="md-icon-button" ng-click="cancel();" aria-label="close dialog">
          <span class="glyphicon glyphicon-remove" aria-hidden="true"></span>
        </md-button>
      </div>
    </md-toolbar>

    <md-dialog-content>
      <div class="md-dialog-content font_raleway">
        <div class="row">
          <div class="col-sm-12">
            <div ng-repeat="pimgsrc in projectImgsrc track by $index"
              ng-class="{'row padding_bottom_20px':$index%2==1}">
              <img class="col-sm-6" ng-src="{{pimgsrc}}" alt="{{pimgsrc}}"
              ng-click="showImage(pimgsrc, $event)">
            </div>
          </div>
        </div>
        <h3 ng-bind="(projectCategory)+' for '+(projectTitle)"></h3>
        <div ng-if="projectDemosrc!=''">
          <span class="ti-share"></span>&nbsp;&nbsp;
          <a ng-href="{{trustSrc(projectDemosrc[1])}}" ng-bind="'view on '+projectDemosrc[0]" target="_blank"></a>
        </div>
        <ul>
          <li ng-repeat="ptask in projectTask" ng-bind="ptask"></li>
        </ul>
      </div>
    </md-dialog-content>

  </form>
</md-dialog>

Fix project dialog horizental scroll
Fix project dialog horizental scroll

1. Get rid of horizental scroll bar of peoject detail dialogs by wrapping images to a row then div col-12