Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请求手动更改 CSS 或 Blade #38

Open
JayChew opened this issue Sep 22, 2020 · 2 comments
Open

请求手动更改 CSS 或 Blade #38

JayChew opened this issue Sep 22, 2020 · 2 comments

Comments

@JayChew
Copy link

JayChew commented Sep 22, 2020

<div class="{{$viewClass['field']}}"> @include('admin::form.error') <div class="btn btn-info pull-left cropper-btn">{{ trans('admin_cropper.choose') }}</div> @include('admin::form.help-block') <input class="cropper-file" type="file" accept="image/*" {!! $attributes !!}/> <!-- <img class="cropper-img" {!! empty($value) ? '' : 'src="'.old($column, $value).'"' !!}> --> <img class="cropper-img" {!! empty($value) ? '' : 'src="'.$preview.'"' !!}> <input class="cropper-input" name="{{$name}}" value="{{ old($column, $value) }}"/> </div>

$form->cropper('image',__('Image'))->rules( ($config['required'] == 1 ? 'required|' : '') )->move('/products')->help("Image dimension must be ".$width."x".$height . '. ' . $require_text)->cRatio($width,$height)

Screenshot (275)

我想要 那 Help text 放在按钮低下,这样看起来比较整齐。现在没有办法手动更改 blade

@JayChew JayChew changed the title 请求手动更改 CSS 请求手动更改 CSS 或 Blade Sep 22, 2020
@jorshxp
Copy link

jorshxp commented Dec 30, 2020

可以使用Admin::css(); 加载的自己的CSS样式来搞定

@JayChew
Copy link
Author

JayChew commented Dec 30, 2020

@jorshxp 好的,谢谢你

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants